public function testRender()
{
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeRegistry'] = array();
$GLOBALS['TYPO3_CONF_VARS']['SYS']['formEngine']['nodeResolver'] = array();
$form = Form::create();
$nodeFactory = $this->getMock(NodeFactory::class, array('create'));
$nodeFactory->expects($this->once())->method('create')->willReturn($this->getMock(NodeInterface::class));
$instance = $this->getMock($this->createInstanceClassName(), array('getNodeFactory'));
$instance->expects($this->once())->method('getNodeFactory')->willReturn($nodeFactory);
$instance->render($form);
}