### Question:
TransactionService { public static Transaction get(final Context context, final String number) throws NetLicensingException { CheckUtils.paramNotEmpty(number, "number"); return NetLicensingService.getInstance().get(context, Constants.Transaction.ENDPOINT_PATH + "/" + number, null, Transaction.class); }  static Transaction create(final Context context, final Transaction transaction); static Transaction get(final Context context, final String number); static Page<Transaction> list(final Context context, final String filter); static Transaction update(final Context context, final String number, final Transaction transaction);  }### Answer:
@Test public void testGet() throws Exception { final Transaction transaction = TransactionService.get(context, "TR001TEST"); assertNotNull(transaction); assertEquals("TR001TEST", transaction.getNumber()); assertEquals(true, transaction.getActive()); assertEquals(TransactionStatus.CLOSED, transaction.getStatus()); assertEquals(TransactionSource.SHOP, transaction.getSource()); assertEquals(new BigDecimal("21.00"), transaction.getGrandTotal()); assertEquals(new BigDecimal("9.00"), transaction.getDiscount()); assertEquals(Currency.EUR, transaction.getCurrency()); assertEquals(DateUtils.parseDate("2014-07-07T21:30:46.658Z").getTime(), transaction.getDateCreated()); assertEquals(DateUtils.parseDate("2014-07-07T21:30:46.658Z").getTime(), transaction.getDateClosed()); assertEquals("VTEST", transaction.getProperties().get("vendorNumber")); }