eZ\Publish\Core\Repository\Tests\Service\Integration\ObjectStateBase::testGetContentCount PHP Метод

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

Test service method for getting the count of content assigned to object state.
public testGetContentCount ( )
    public function testGetContentCount()
    {
        $objectStateService = $this->repository->getObjectStateService();
        $state = $objectStateService->loadObjectState(1);
        $count = $objectStateService->getContentCount($state);
        $this->assertGreaterThan(0, $count);
    }