There is an example to reproduce: ```php $this->assertThrows(Exception::class, function () { throw new Exception('an exception'); }); ``` `exception message '' was expected, but 'an exception' was received`