### Question:
DispatcherMaxAgeHeaderFilter extends AbstractDispatcherCacheHeaderFilter { @Override protected String getHeaderValue() { return HEADER_PREFIX + maxage; }  String toString(); @Property(label = "Cache-Control Max Age",
            description = "Max age value (in seconds) to put in Cache Control header.")
    static final String PROP_MAX_AGE; }### Answer:
@Test public void testGetHeaderValue() throws Exception { when(componentContext.getProperties()).thenReturn(properties); filter.doActivate(componentContext); assertEquals("max-age=" + maxage, filter.getHeaderValue()); }