@Test
void testGetPrefix() throws XMLStreamException
{

    when(delegateMock.getPrefix(NAMESPACE_URI)).thenReturn(PREFIX);
    assertThat(writer.getPrefix(NAMESPACE_URI), equalTo(PREFIX));
    verify(delegateMock).getPrefix(NAMESPACE_URI);
}