eZ\Publish\Core\Repository\Tests\Service\Integration\ContentBase::testLoadVersionsMultipleValues PHP Метод

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

Test for the loadVersions() method.
public testLoadVersionsMultipleValues ( array $data )
$data array
    public function testLoadVersionsMultipleValues(array $data)
    {
        $versions = $data['versions'];
        $time = $data['time'];
        $versionInfoValues = $this->getVersionInfoExpectedValues();
        $this->assertPropertiesCorrect($versionInfoValues, $versions[0]);
        $versionInfoValues = $this->getVersionInfoExpectedValues(true);
        $this->assertPropertiesCorrect($versionInfoValues, $versions[1]);
        $this->assertGreaterThanOrEqual($this->getDateTime($time), $versions[1]->creationDate);
        $this->assertGreaterThanOrEqual($this->getDateTime($time), $versions[1]->modificationDate);
    }
ContentBase