Neos\ContentRepository\Tests\Behavior\Features\Bootstrap\NodeOperationsTrait::theNodePropertyShouldBe PHP Method

theNodePropertyShouldBe() public method

public theNodePropertyShouldBe ( $propertyName, $propertyValue )
    public function theNodePropertyShouldBe($propertyName, $propertyValue)
    {
        if ($this->isolated === true) {
            $this->callStepInSubProcess(__METHOD__, sprintf(' %s %s %s %s', 'string', escapeshellarg($propertyName), 'string', escapeshellarg($propertyValue)));
        } else {
            $currentNode = $this->iShouldHaveOneNode();
            Assert::assertEquals($propertyValue, $currentNode->getProperty($propertyName));
        }
    }