Spec\Dumplie\Metadata\Schema\Field\IntegerFieldSpec::it_throws_exception_when_serialized_value_is_not_empty_and_is_not_valid_string PHP Метод

it_throws_exception_when_serialized_value_is_not_empty_and_is_not_valid_string() публичный Метод

    function it_throws_exception_when_serialized_value_is_not_empty_and_is_not_valid_string()
    {
        $this->shouldThrow(InvalidArgumentException::class)->during("deserialize", [new \DateTime()]);
    }