### Question:
ResourceProperties extends Properties { public final boolean propertyEnabled(final String property) { return "true".equalsIgnoreCase((String) get(property)); } ResourceProperties(); @SuppressFBWarnings( value = "UI_INHERITANCE_UNSAFE_GETRESOURCE", justification = "Not a problem since resourceName should be given" + "relative to root of classpath")  ResourceProperties(final String resourceName); final Map<String, Map<String, String>> getItems(
            final String listProperty); final List<String> getList(final String listProperty); final Map<String, String> getItemMap(final String basePropertyName); final boolean propertyEnabled(final String property);  }### Answer:
@Test public final void testPropertyEnabled() throws Exception { ResourceProperties props = getResourceProperties(); Assert.assertEquals(props.propertyEnabled("testEnabled.one"), true); Assert.assertEquals(props.propertyEnabled("testEnabled.two"), true); Assert.assertEquals(props.propertyEnabled("testEnabled.three"), false); Assert.assertEquals(props.propertyEnabled("testEnabled.four"), false); Assert.assertEquals(props.propertyEnabled("testEnabled.five"), false); Assert.assertEquals(props.propertyEnabled("testEnabled.dne"), false); }