Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assert that the session contains a given piece of data using a closure
Just like `$response->assertViewHas()` accepts a closure as a second parameter which is called to evaluate the contents of the view data, `$response->assertSessionHas()` could implement a similar behavior.
- Loading branch information