createNodeType() public method

Creates a new node type
public createNodeType ( string $nodeTypeName ) : NodeType
$nodeTypeName string Unique name of the new node type. Example: "Neos.Neos:Page"
return Neos\ContentRepository\Domain\Model\NodeType
 /**
  * @test
  * @expectedException \Neos\ContentRepository\Exception
  */
 public function createNodeTypeAlwaysThrowsAnException()
 {
     $this->nodeTypeManager->createNodeType('Neos.ContentRepository.Testing:ContentObject');
 }