public void Serialize_WrongRoot_Error() { var ser = new SerializerWrongRoot(); var value = new Owner { Walls = new List <Wall> { new Wall { Bricks = new List <Brick> { new Brick { Id = 1 }, new Brick { Id = 2 } } } } }; ser.SerializeToString(value); }
public void Deserialize_UnresolvedLink_Error() { var ser = new SerializerWrongRoot(); ser.DeserializeFromString(@"{Walls:[{Bricks:[{Id:1,Touches:[""3""]},{Id:2}]}]}"); }