Closed kbond closed 3 years ago
Allows making assertions on multiple collections in a fluid way:
$this->messenger() ->queue() ->assertNotEmpty() ->assertContains(MyMessage::class) ->back() // returns to the TestTransport ->dispatched() ->assertEmpty() ->back() ->acknowledged() ->assertEmpty() ->back() ->rejected() ->assertEmpty() ->back() ;
Allows making assertions on multiple collections in a fluid way: