/** * Test method for {@link * com.google.code.magja.service.order.OrderRemoteServiceImpl#cancel(com.google.code.magja.model.order.Order)}. */ @Test public void testCancel() { Order order = new Order(); order.setId(100000001); try { service.cancel(order); } catch (ServiceException e) { fail(e.getMessage()); } }
/** * Test method for {@link * com.google.code.magja.service.order.OrderRemoteServiceImpl#addComment(com.google.code.magja.model.order.Order, * java.lang.String, java.lang.String, java.lang.Boolean)}. */ @Test public void testAddComment() { Order order = new Order(); order.setId(100000001); try { service.addComment(order, "pending", "Hello World", false); } catch (ServiceException e) { fail(e.getMessage()); } }