value)->toBe(trim($pin)); })->with(['1234', '123456', ' 0042 ']); it('refuses other PIN codes', function (string $pin) { new LoginPin($pin); })->with(['123', '1234567', '12a4', ''])->throws(InvalidLoginPin::class);