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