public function testFindByGroupName() { $group = TestGroupFixtures::$groups['group-1']; $this->assertEquals($this->repo->findBy(["group" => $group]), $this->repo->findByGroupName($group->getName())); }