public function testGetContentCount() { $objectStateService = $this->repository->getObjectStateService(); $state = $objectStateService->loadObjectState(1); $count = $objectStateService->getContentCount($state); $this->assertGreaterThan(0, $count); }