expectException(InvariantViolationException::class); $this->expectExceptionMessage('The number of times you want to reproduce must be at least 1.'); Vec\reproduce(0, Fun\identity()); } }