Change-Id: I80b73b653e97904605dc62484a7448f3bfbf7225
BinderValidationStatus<?> status = binder.validate();
Assert.assertEquals(0, status.getFieldValidationErrors().size());
Assert.assertEquals(1, status.getBeanValidationErrors().size());
- Assert.assertEquals(
- status.getBeanValidationErrors().get(0).getErrorMessage(),
- message);
+ Assert.assertEquals(message,
+ status.getBeanValidationErrors().get(0).getErrorMessage());
Assert.assertEquals(message, formStatusLabel.getValue());
mock.registerRpc(implementation);
Assert.fail("expected exception");
} catch (Exception expected) {
- Assert.assertEquals(expected.getMessage(),
- "Use registerRpc(T implementation, Class<T> rpcInterfaceType) if the Rpc implementation implements more than one interface");
+ Assert.assertEquals(
+ "Use registerRpc(T implementation, Class<T> rpcInterfaceType) "
+ + "if the Rpc implementation implements more than one interface",
+ expected.getMessage());
}
}