### Question:
ConfigurableAuthManager implements AuthManager { @Override public boolean isAllowed(final String url) { return allowedTemplates.contains(url); } ConfigurableAuthManager(List<String> allowedTemplates);  ConfigurableAuthManager(); void setAllowedTemplates(final List<String> allowedTemplates); @Override boolean isAllowed(final String url);  }### Answer:
@Test public void testDefault() throws Exception { Assert.assertFalse("should not allow by default", configurableAuthManager.isAllowed("template")); }