### Question:
OSMWithTags { public boolean isGeneralAccessDenied() { return isTagDeniedAccess("access"); }  long getId(); void setId(long id); void addTag(OSMTag tag); void addTag(String key, String value); Map<String, String> getTags(); boolean hasTag(String tag); boolean isTagFalse(String tag); boolean isTagTrue(String tag); boolean doesTagAllowAccess(String tag); String getTag(String tag); Boolean isTag(String tag, String value); String getAssumedName(); Map<String, String> getTagsByPrefix(String prefix); static boolean isFalse(String tagValue); static boolean isTrue(String tagValue); boolean isUnderConstruction(); boolean isGeneralAccessDenied(); boolean isMotorcarExplicitlyDenied(); boolean isMotorcarExplicitlyAllowed(); boolean isBicycleExplicitlyDenied(); boolean isBicycleExplicitlyAllowed(); boolean isPedestrianExplicitlyDenied(); boolean isPedestrianExplicitlyAllowed(); boolean isThroughTrafficExplicitlyDisallowed();  }### Answer:
@Test public void testIsGeneralAccessDenied() { OSMWithTags o = new OSMWithTags(); assertFalse(o.isGeneralAccessDenied()); o.addTag("access", "something"); assertFalse(o.isGeneralAccessDenied()); o.addTag("access", "license"); assertTrue(o.isGeneralAccessDenied()); o.addTag("access", "no"); assertTrue(o.isGeneralAccessDenied()); }