@Test void useResourceLastModificationDate() { URLConfiguration urlConfiguration = () -> null; assertTrue(urlConfiguration.useResourceLastModificationDate()); String property = "url.useResourceLastModificationDate"; when(configurationSource.getProperty(property, true)).thenReturn(false); assertFalse(defaultURLConfiguration.useResourceLastModificationDate()); verify(configurationSource, atLeastOnce()).getProperty(property, true); }
@Override public boolean useResourceLastModificationDate() { return this.configuration.get().getProperty(PREFIX + "useResourceLastModificationDate", true); }
DefaultURLConfiguration implements URLConfiguration { @Override public boolean useResourceLastModificationDate() { return this.configuration.get().getProperty(PREFIX + "useResourceLastModificationDate", true); } }
DefaultURLConfiguration implements URLConfiguration { @Override public boolean useResourceLastModificationDate() { return this.configuration.get().getProperty(PREFIX + "useResourceLastModificationDate", true); }  }
DefaultURLConfiguration implements URLConfiguration { @Override public boolean useResourceLastModificationDate() { return this.configuration.get().getProperty(PREFIX + "useResourceLastModificationDate", true); }  @Override String getURLFormatId(); @Override boolean useResourceLastModificationDate(); }
DefaultURLConfiguration implements URLConfiguration { @Override public boolean useResourceLastModificationDate() { return this.configuration.get().getProperty(PREFIX + "useResourceLastModificationDate", true); }  @Override String getURLFormatId(); @Override boolean useResourceLastModificationDate();  }