DeserializationStrategy<Object> objectStrategy = new DeserializationStrategy<Object>() {
@Override
public Object deserialize(Deserializer in)
throws DeserializationException
{
return in.readObject();
}
};
assertThat(objectStrategy.deserialize(d),not(nullValue()));
}