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

    NodeTypeManagerFacade facade = getFacade(mock(NodeTypeManager.class));
    facade.registerNodeType(null, true);
}