### Question:
LastModPropertyProvider extends PropertyProviderBase { @Override public String extractValue(final Page page) { final Date lastModified = page.getLastModifiedDate(); if (nonNull(lastModified)) { return dateFormat.format(lastModified); } return null; } LastModPropertyProvider(); @Override String extractValue(final Page page);  }### Answer:
@Test public void extractValue() { assertNull(model.extractValue(candidate)); page.putProperty(PerConstants.JCR_LAST_MODIFIED, Calendar.getInstance()); assertNotNull(model.extractValue(candidate)); }