Neos\ContentRepository\Tests\Unit\Domain\Model\NodeDataTest::dimensionsHashIsOrderIndependent PHP Метод

dimensionsHashIsOrderIndependent() публичный Метод

    public function dimensionsHashIsOrderIndependent()
    {
        $nodeData = new NodeData('/foo/bar', $this->mockWorkspace, null, array('c' => array('c1', 'c2'), 'a' => array('a1')));
        $dimensionsHash = $nodeData->getDimensionsHash();
        $this->assertSame('955c716a191a0957f205ea9376600e72', $dimensionsHash);
        $nodeData = new NodeData('/foo/bar', $this->mockWorkspace, null, array('a' => array('a1'), 'c' => array('c2', 'c1')));
        $dimensionsHash = $nodeData->getDimensionsHash();
        $this->assertSame('955c716a191a0957f205ea9376600e72', $dimensionsHash);
    }
NodeDataTest