DATACMNS-867 - Hacking.

This commit is contained in:
Oliver Gierke
2017-01-30 14:01:50 +01:00
parent 47e2e61ff5
commit cc1c07ecca
4 changed files with 57 additions and 8 deletions

View File

@@ -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) {

View File

@@ -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 {