DATAREST-1006 - Polishing.
Fixed assertions to use Hamcrest instead of AssertJ.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user