toBeLessThan(42); expect(4)->toBeLessThan(5); }); test('failures', function () { expect(4)->toBeLessThan(4); })->throws(ExpectationFailedException::class); test('failures with custom message', function () { expect(4)->toBeLessThan(4, 'oh no!'); })->throws(ExpectationFailedException::class, 'oh no!'); test('not failures', function () { expect(5)->not->toBeLessThan(6); })->throws(ExpectationFailedException::class);