@Test
public void shouldUseFullNamespaceUriInResultFromGetStringWithoutNamespaceRegistry() {

    String prefix = namespaceRegistry.getPrefixForNamespaceUri(validNamespaceUri, false);
    String encodedLocalName = Path.DEFAULT_ENCODER.encode(validLocalName);
    String result = name.getString();
    assertThat(result, containsString(prefix));
    assertThat(result, containsString(encodedLocalName));
    assertThat(result, is(prefix + ":" + encodedLocalName));
}