@Test
public void testGetNamespacePrefixes() throws Exception {

    Session delegate = mock(Session.class);
    SessionFacade<Session> facade = getFacade(delegate);
    final String[] prefixes = new String[]{"jcr", "nt", "oak"};
    when(delegate.getNamespacePrefixes()).thenReturn(prefixes);
    assertSame("should be same", prefixes, facade.getNamespacePrefixes());
}