### Question:
ViolationId { public String getNamespace() { return namespace; } 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 testGetNamespace() { assertThat(violationId.getNamespace()).isEqualTo(namespace.toUpperCase(Locale.US)); }