toBeFalse(); }); test('failures', function (): void { expect('')->toBeFalse(); })->throws(ExpectationFailedException::class); test('failures with custom message', function (): void { expect('')->toBeFalse('oh no!'); })->throws(ExpectationFailedException::class, 'oh no!'); test('not failures', function (): void { expect(false)->toBeTrue(); })->throws(ExpectationFailedException::class);