/** * Return all messages from a order. * * @throws ApiException if the Api call fails */ @Test public void messagesOrdersOrderIdGetTest() throws ApiException { Integer orderId = 1649128570; MessageSearchResults response = api.messagesOrdersOrderIdGet(accessToken, orderId); assertNotNull(response); assertNotNull(response.getResults()); assertTrue("Total must be >= 0", response.getPaging().getTotal() >= 0); }