public void testNoEmailReturnItems() {
OrderCommands tester = new CommandPosterImplTester(
apiContext(), "googleOrderNumber", false, commands);
tester.itemCommands("itemId").returnItems();
assertEquals(1, commands.size());
ReturnItemsRequest returnItemsRequest =
(ReturnItemsRequest) commands.get(0).getValue();
assertEquals(Boolean.FALSE, returnItemsRequest.isSendEmail());
assertEquals("googleOrderNumber", returnItemsRequest.getGoogleOrderNumber());
assertEquals(1, returnItemsRequest.getItemIds().getItemId().size());
assertEquals("itemId", returnItemsRequest.getItemIds().getItemId().get(0).getMerchantItemId());
}