DATAREST-1006 - Polishing.

Fixed assertions to use Hamcrest instead of AssertJ.
This commit is contained in:
Oliver Gierke
2017-10-10 09:28:08 +02:00
parent dde3d18f41
commit d47e87aee0

View File

@@ -72,8 +72,8 @@ public class MappedPropertiesUnitTests {
@Test // DATAREST-1006
public void doesNotExposeIgnoredPropertyViaJsonProperty() {
assertThat(properties.hasPersistentPropertyForField("readOnlyProperty")).isFalse();
assertThat(properties.getPersistentProperty("readOnlyProperty")).isNull();
assertThat(properties.hasPersistentPropertyForField("readOnlyProperty"), is(false));
assertThat(properties.getPersistentProperty("readOnlyProperty"), is(nullValue()));
}
static class Sample {