### Question:
TransactionService { public static Page<Transaction> list(final Context context, final String filter) throws NetLicensingException { final Map<String, Object> params = new HashMap<String, Object>(); if (StringUtils.isNotBlank(filter)) { params.put(Constants.FILTER, filter); } return NetLicensingService.getInstance().list(context, Constants.Transaction.ENDPOINT_PATH, params, 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 testList() throws Exception { final Page<Transaction> transactions = TransactionService.list(context, null); assertNotNull(transactions); assertTrue(transactions.hasContent()); assertEquals(3, transactions.getItemsNumber()); assertEquals(TransactionSource.AUTO_LICENSE_UPDATE, transactions.getContent().get(0).getSource()); assertEquals(TransactionStatus.PENDING, transactions.getContent().get(1).getStatus()); assertEquals("TR003TEST", transactions.getContent().get(2).getNumber()); }