Home Manual Reference Source Test Repository

Test

Description Identifier Count

It is a SerializerError

-

Its name is an InvalidArgumentError error

-

It is a SerializerError

-

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

-

It implements the SerializerInterface interface

AbstractSerializer#constructor

It should not supports any (de)-serialization

AbstractSerializer#supportsDeserialize AbstractSerializer#supportsSerialize

It should return the object unchanged if (de)-serialization is called [warning: bad practice]

AbstractSerializer#deserialize AbstractSerializer#serialize

It implements the SerializerInterface interface

SerializerAware#constructor

It should contain a reference to the serializer

SerializerAware#setSerializer

As an interface, it should not implement anything

SerializerInterface#deserialize SerializerInterface#serialize SerializerInterface#supportsDeserialize SerializerInterface#supportsSerialize

It implements the SerializerInterface interface

Serializer#constructor

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 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 should be able to deserialize a boolean value

-

It should be able to deserialize a integer boolean value

-

It should be able to deserialize a null value

-

It should be able to serialize a boolean value

-

It should be able to deserialize a UserType value

-

It should be able to serialize a UserType value

-

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

-