public function testGetGroupedEntitiesEmpty() { $this->provider->expects($this->once())->method('getProviderForEntity')->willReturn($this->returnValue(new TestActivityProvider())); $this->assertCount(0, $this->activityListManager->getGroupedEntities(new \stdClass(), '', '', 0, [])); }