public void Then_the_new_Order_is_returned()
 {
     _result.ShouldLookLikePartial(new
     {
         _dto.OrderStatusId,
         _dto.UserId,
     });
 }
 public void Then_only_the_matching_model_was_returned()
 {
     _result.ShouldLookLikePartial(new
     {
         _expected.Id,
         _expected.OrderStatusId,
         _expected.UserId
     });
 }
Ejemplo n.º 3
0
 public void Then_the_updated_model_was_returned()
 {
     _result.ShouldLookLikePartial(new
     {
         _dto.Id,
         _dto.OrderStatusId,
         _dto.UserId
     });
 }