@Test
public void testGetOrderHistoryMinimumAssumptions() throws IOException {

  Source requestPayload = new StringSource(
      "<ns1:getOrderHistoryRequest xmlns:ns1=\"http://codenotfound.com/types/orderhistory\">"
          + "<ns1:userId>ghi789</ns1:userId>" + "</ns1:getOrderHistoryRequest>");
  Source responsePayload = new StringSource(
      "<ns1:getOrderHistoryResponse xmlns:ns1=\"http://codenotfound.com/types/orderhistory\">"
          + "<ns1:newWrapper>" + "<ns1:orderHistory>" + "<ns1:orderList>"
          + "<ns1:order><ns1:orderId>order7</ns1:orderId></ns1:order>"
          + "<ns1:order><ns1:orderId>order8</ns1:orderId></ns1:order>"
          + "<ns1:order><ns1:orderId>order9</ns1:orderId></ns1:order>" + "</ns1:orderList>"
          + "</ns1:orderHistory>" + "</ns1:newWrapper>" + "</ns1:getOrderHistoryResponse>");
  mockWebServiceServer.expect(payload(requestPayload)).andRespond(withPayload(responsePayload));
  OrderHistory orderHistory = orderHistoryClient.getOrderHistory("ghi789");
  assertThat(orderHistory.getOrders().get(2).getOrderId()).isEqualTo("order9");
  mockWebServiceServer.verify();
}