### Question:
BasicNamespace implements NamespaceRegistry.Namespace { public String getNamespaceUri() { return namespaceUri; } 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 shouldHaveSameNamespaceUriPassedIntoConstructor() { assertThat(ns1.getNamespaceUri(), is(validUri1)); assertThat(ns2.getNamespaceUri(), is(validUri2)); assertThat(ns3.getNamespaceUri(), is(validUri1)); assertThat(ns4.getNamespaceUri(), is(validUri2)); assertThat(ns5.getNamespaceUri(), is(validUri3)); }