public function setNodeTypeOnNodeWithNonMatchingContextMaterializesNodeData()
{
$nodeType = $this->getMockBuilder(NodeType::class)->disableOriginalConstructor()->getMock();
$node = $this->setUpNodeWithNonMatchingContext();
$node->getNodeData()->expects($this->once())->method('setNodeType')->with($nodeType);
$node->setNodeType($nodeType);
}