anchor.diff:        login_response=#eto_login_response{}
       }
     }).
  -
  +-define(loginResponse(Seq, Session), 
  +  #seto_payload{
  +    eto_payload=#eto_payload{
  +      seq=Seq,
  +      type=login_response,
  +      is_replay=false,
  +      login_response=#eto_login_response{
  +        session=Session
  +      }
  +    }
  +  }).
   -define(assertRecv(Payload),
     Payload = recv()).
   
  
positive.code: 
  -define(assertLoginResponse(Seq),
    ?assertRecv(?loginResponse(Seq))).
  
  -define(assertPong(Seq),
    ?assertEto(#eto_payload{
  
negative.code:         }
        }
      })).
  
  -define(assertOrderAccepted(Seq, OrderId, ResponseSeq),
    ?assertRecv(#seto_payload{
        type=order_accepted,
        order_accepted=#seto_order_accepted{
          order=OrderId,
          seq=ResponseSeq
        },
        eto_payload=#eto_payload{
          seq=Seq
        }
      })).
  
  -define(assertOrderCancelled(Seq, OrderId, Reason),
    ?assertRecv(#seto_payload{
        type=order_cancelled,
        order_cancelled=#seto_order_cancelled{
          order=OrderId,
          reason=Reason
        },
        eto_payload=#eto_payload{
          seq=Seq
        }
      })).
  