public function it_fails_if_a_collection_doesnt_have_a_matching_event() {
        $events = DomainEvents::make([]);

        expect($events)->shouldNotContainEvent(
            new EventStub(3, 2, 1)
        );

        $events = DomainEvents::make([
            new EventStub(3, 2, 1),
        ]);

        expect($events)->shouldNotContainEvent(
            new EventStub(4, 4, 4)
        );
    }
public function it_fails_if_a_collection_doesnt_have_a_matching_event() {
        $events = DomainEvents::make([]);

        expect($events)->shouldNotContainEvent(
            new EventStub(3, 2, 1)
        );

        $events = DomainEvents::make([
            new EventStub(3, 2, 1),
        ]);

        expect($events)->shouldNotContainEvent(
            new EventStub(4, 4, 4)
        );
    }
public function it_fails_if_a_collection_doesnt_have_a_matching_event ( ) { $ events = DomainEvents :: make ( [ ] ) ; expect ( $ events ) -> shouldNotContainEvent ( new EventStub ( 3 , 2 , 1 ) ) ; $ events = DomainEvents :: make ( [ new EventStub ( 3 , 2 , 1 ) , ] ) ; expect ( $ events ) -> shouldNotContainEvent ( new EventStub ( 4 , 4 , 4 ) ) ; }
when you get time
when you get time