SerializationError
It is a SerializerError
Its name is an InvalidArgumentError error
Its name is an SerializationError error
It is an Error
It captures the error message
An error without any message has an empty message
It captures the error name
AbstractSerializer
It implements the SerializerInterface interface
It should not supports any (de)-serialization
It should return the object unchanged if (de)-serialization is called [warning: bad practice]
SerializerAware
It should contain a reference to the serializer
SerializerInterface
As an interface, it should not implement anything
Serializer
It should have a reference of all the registered serializers
Only serialiers can be registered
If no serializer is found, should throw an error
It can use the StringSerializer
It should be able to deserialize a string
It should be able to deserialize an empty string
It should be able to deserialize a null value
It should be able to deserialize something else than a string or a null value
It should not be able to serialize a string
It can use the BooleanSerializer
It should be able to deserialize a boolean value
It should be able to deserialize a integer boolean value
It should be able to serialize a boolean value
It can use the UserTypeSerializer
It should be able to deserialize a UserType value
It should be able to serialize a UserType value
It can use the UserSerializer
It should be able to deserialize a user object
It should not be able to deserialize a user object with another serializer
It should be able to serialize a User object