diff --git a/tests/FakeEventRepositoryTest.php b/tests/FakeEventRepositoryTest.php index 0950e02..a18bf13 100644 --- a/tests/FakeEventRepositoryTest.php +++ b/tests/FakeEventRepositoryTest.php @@ -19,7 +19,14 @@ final class FakeEventRepositoryTest extends KernelTestCase /** @test */ public function should_only_return_attendees_with_a_yes_rsvp(): void { + $attendees = $this->repository->getConfirmedAttendees(); + $this->assertCount(3, $attendees); + } + + /** @test */ + public function should_not_return_event_organisers(): void + { $attendees = $this->repository->getConfirmedAttendees(); $this->assertCount(3, $attendees);