public void SerializationServiceSerializeObjectSerializesToStringTest()
 {
     var serializationService = new JsonSerializationService();
     var testObject = new SerializationTestClass("Jamie", DateTime.Now);
     var serializedObject = serializationService.SerializeFormData(testObject);
     Assert.IsInstanceOfType(serializedObject, typeof (string));
 }
 public void SerializationServiceDeSerializeStringDeSerializesUsingTypeNameToObjectTest()
 {
     var serializationService = new JsonSerializationService();
     var testObject = new SerializationTestClass("Bob", DateTime.Now);
     var serializedObject = serializationService.SerializeFormData(testObject);
     var deserializedObject = serializationService.DeSerializeFormData(serializedObject);
     Assert.IsInstanceOfType(deserializedObject, typeof (SerializationTestClass));
 }