@Test
public void testCreateNodeSkin() {

    NODE.setType(null);
    assertNull(skinFactory.createNodeSkin(null));
    assertTrue(skinFactory.createNodeSkin(NODE) instanceof DefaultNodeSkin);
    NODE.setType(NODE_TYPE);
    assertTrue(skinFactory.createNodeSkin(NODE) instanceof DefaultNodeSkin);
    skinFactory.setNodeSkin(NODE_TYPE, CustomNodeSkin.class);
    assertTrue(skinFactory.createNodeSkin(NODE) instanceof CustomNodeSkin);
}