Neos\ContentRepository\Tests\Unit\Domain\Model\ContextualizedNodeTest::setPropertyOnNodeWithNonMatchingContextMaterializesNodeData PHP Method

setPropertyOnNodeWithNonMatchingContextMaterializesNodeData() public method

    public function setPropertyOnNodeWithNonMatchingContextMaterializesNodeData()
    {
        $node = $this->setUpNodeWithNonMatchingContext();
        $node->getNodeData()->expects($this->once())->method('setProperty')->with('propertyName', 'value');
        $node->setProperty('propertyName', 'value');
    }