    @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"));
    }