### Question:
Page extends ResourceWrapper { public boolean containsProperty(final String name) { if (nonNull(contentProperties) && contentProperties.containsKey(name)) { return true; } return properties.containsKey(name); } Page(final Resource resource); boolean hasContent(); Resource getContent(); boolean containsProperty(final String name); Object getProperty(final String name); Type getProperty(final String name, final Class<Type> type); @SuppressWarnings("unchecked") Type getProperty(final String name, final Type defaultValue); Calendar getLastModified(); Date getLastModifiedDate();  }### Answer:
@Test public void containsProperty() { assertFalse(missingContent.containsProperty(NAME)); parent.putProperty(NAME, VALUE); assertTrue(missingContent.containsProperty(NAME)); assertFalse(properPage.containsProperty(NAME)); jcrContent.putProperty(NAME, VALUE); assertTrue(properPage.containsProperty(NAME)); }