eZ\Publish\Core\FieldType\Tests\Page\BlockTest::testGetState PHP Метод

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

public testGetState ( )
    public function testGetState()
    {
        $item = $this->getMockBuilder('eZ\\Publish\\Core\\FieldType\\Page\\Parts\\Item')->disableOriginalConstructor()->getMock();
        $properties = array('id' => '4efd68496edd8184aade729b4d2ee17b', 'name' => 'Main Story', 'type' => 'Campaign', 'view' => 'default', 'overflowId' => '', 'customAttributes' => null, 'action' => null, 'rotation' => null, 'zoneId' => '6c7f907b831a819ed8562e3ddce5b264', 'items' => array($item), 'attributes' => array('foo' => 'bar', 'some' => 'thing'));
        $block = $this->getBlock($properties);
        $this->assertSame($properties, $block->getState());
    }