getUserGroupRepository(); $count = $repo->count([]); self::assertSame(self::COUNT, $count); $userGroup = new UserGroup(); $repo->remove($userGroup, true); } }