toBeTrue(); expect(1 + 1)->toBe(2); }); it('demonstrates string expectations', function () { $greeting = 'Hello, World!'; expect($greeting) ->toBeString() ->toContain('Hello') ->toStartWith('Hello') ->toEndWith('!'); }); it('demonstrates array expectations', function () { $items = ['apple', 'banana', 'cherry']; expect($items) ->toBeArray() ->toHaveCount(3) ->toContain('banana'); });