@Test
public void testCreateNodeTypeTemplateDefinition() throws Exception {

    NodeTypeManager delegate = mock(NodeTypeManager.class);
    NodeTypeManagerFacade facade = getFacade(delegate);
    final NodeTypeTemplate value = mock(NodeTypeTemplate.class);
    final NodeTypeDefinition def = mock(NodeTypeDefinition.class);
    when(delegate.createNodeTypeTemplate(def)).thenReturn(value);
    assertSame("same value", value, facade.createNodeTypeTemplate(def));
}