### Question:
ViolationId { public String getIdentifier() { return getNamespace() + "." + getNamespacedIdentifier(); } ViolationId(final String namespace, final String namespacedIdentifier); @Override boolean equals(final Object obj); String getIdentifier(); String getNamespace(); String getNamespacedIdentifier(); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testGetIdentifier() { assertThat(violationId.getIdentifier()) .isEqualTo(namespace.toUpperCase(Locale.US) + "." + identifier.toUpperCase(Locale.US)); }