$browser
->expectException(SomeException::class) // auto-enables ->throwExceptions() for the next request
->post('/some/url') // fail if SomeException wasn't thrown
->expectException(SomeException::class, 'expected exception message')
->click('link or button') // fail if SomeException wasn't thrown or message doesn't match
;
Closes #46.