### Question:
Page extends ResourceWrapper { public boolean hasContent() { return nonNull(content); } 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 hasContent() { assertFalse(missingContent.hasContent()); assertTrue(properPage.hasContent()); }