### Question:
TaggedValueHelper { public static final String getStringTag(final String name, final Taggable element, final ModelIndex lookup, final String defaultValue) { for (final TaggedValue taggedValue : element.getTaggedValues()) { final TagDefinition tagDefinition = lookup.getTagDefinition(taggedValue.getTagDefinition()); if (name.equals(tagDefinition.getName())) { return taggedValue.getValue(); } } return defaultValue; }  static final boolean getBooleanTag(final String name, final Taggable element, final ModelIndex lookup,
            final boolean defaultValue); static final String getStringTag(final String name, final Taggable element, final ModelIndex lookup,
            final String defaultValue); static final boolean hasTag(final String name, final Taggable element, final ModelIndex lookup);  }### Answer:
@Test public void testGetStringTag() throws Exception { Type classType = modelIndex.getType(CLASSTYPE_ID); assertEquals(false, TaggedValueHelper.getBooleanTag(TAG_DEFINITION_NAME, classType, modelIndex, true)); assertEquals(true, TaggedValueHelper.getBooleanTag("randomTagName", classType, modelIndex, true)); }