toBeIn(['a', 'b', 'c']); expect('d')->not->toBeIn(['a', 'b', 'c']); }); test('failures', function () { expect('d')->toBeIn(['a', 'b', 'c']); })->throws(ExpectationFailedException::class); test('not failures', function () { expect('a')->not->toBeIn(['a', 'b', 'c']); })->throws(ExpectationFailedException::class);