@Test(expected = ListenerReadOnlyException.class)
public void testRORegisterNamespace() throws Exception {

    NamespaceRegistryFacade facade = getFacade(mock(NamespaceRegistry.class));
    facade.registerNamespace("", "");
}