Exemple #1
0
 public void Then_the_new_Address_is_returned()
 {
     _result.ShouldLookLikePartial(new
     {
         _dto.Line1,
         _dto.Line2,
         _dto.City,
         _dto.StateId,
         _dto.PostalCode
     });
 }
 public void Then_only_the_matching_model_was_returned()
 {
     _result.ShouldLookLikePartial(new
     {
         _expected.Id,
         _expected.Line1,
         _expected.Line2,
         _expected.City,
         _expected.StateId,
         ZipCode = _expected.ZipCode
     });
 }
Exemple #3
0
 public void Then_the_updated_model_was_returned()
 {
     _result.ShouldLookLikePartial(new
     {
         _dto.Id,
         _dto.Line1,
         _dto.Line2,
         _dto.City,
         _dto.StateId,
         _dto.ZipCode
     });
 }