DATACMNS-867 - Hacking.
This commit is contained in:
@@ -53,7 +53,7 @@ public class DefaultProjectionInformationUnitTests {
|
||||
ProjectionInformation information = new DefaultProjectionInformation(WithDefaultMethod.class);
|
||||
|
||||
assertThat(information.isClosed()).isTrue();
|
||||
assertThat(toNames(information.getInputProperties())).contains("firstname");
|
||||
assertThat(toNames(information.getInputProperties())).containsExactly("firstname");
|
||||
}
|
||||
|
||||
private static List<String> toNames(List<PropertyDescriptor> descriptors) {
|
||||
|
||||
@@ -153,7 +153,8 @@ public class ReturnedTypeUnitTests {
|
||||
|
||||
List<String> properties = type.getInputProperties();
|
||||
|
||||
assertThat(properties).hasSize(1).contains("firstname");
|
||||
assertThat(properties).hasSize(1);
|
||||
assertThat(properties).containsExactly("firstname");
|
||||
}
|
||||
|
||||
private static ReturnedType getReturnedType(String methodName, Class<?>... parameters) throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user