### Question:
BasicNamespace implements NamespaceRegistry.Namespace { public String getPrefix() { return prefix; } BasicNamespace( String prefix,
                           String namespaceUri ); String getNamespaceUri(); String getPrefix(); @Override int hashCode(); int compareTo( Namespace that ); @Override boolean equals( Object obj ); @Override String toString();  }### Answer:
@Test public void shouldHaveSamePrefixPassedIntoConstructor() { assertThat(ns1.getPrefix(), is(validPrefix1)); assertThat(ns2.getPrefix(), is(validPrefix1)); assertThat(ns3.getPrefix(), is(validPrefix2)); assertThat(ns4.getPrefix(), is(validPrefix2)); assertThat(ns5.getPrefix(), is(validPrefix3)); }