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

    NodeTypeManagerFacade facade = getFacade(mock(NodeTypeManager.class));
    facade.registerNodeTypes(new NodeTypeDefinition[0], true);
}