function it_requires_integer_for_serialization() { $this->shouldThrow(InvalidValueException::class)->during("serialize", [123.456]); }