}
@Test
public void shouldAlwaysReturnPathWithSingleSlashForGetString() {
NamespaceRegistry registry = mock(NamespaceRegistry.class);
TextEncoder encoder = mock(TextEncoder.class);
when(encoder.encode("/")).thenReturn("/");
assertThat(root.getString(), is("/"));
assertThat(root.getString(registry), is("/"));
assertThat(root.getString(registry, encoder), is("/"));
assertThat(root.getString(registry, encoder, encoder), is("/"));
assertThat(root.getString(encoder), is("/"));