### Question:
TokenService { public static Page<Token> 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.Token.ENDPOINT_PATH, params, Token.class); }  static Token get(final Context context, final String number); static Page<Token> list(final Context context, final String filter); static Token create(final Context context, final Token token); static void delete(final Context context, final String number);  }### Answer:
@Test public void testList() throws Exception { final Page<Token> tokens = TokenService.list(context, null); assertNotNull(tokens); assertTrue(tokens.hasContent()); assertEquals(3, tokens.getItemsNumber()); assertEquals("08b66094-a5c4-4c93-be71-567e982d9428", tokens.getContent().get(0).getNumber()); assertEquals(DateUtils.parseDate("2014-07-22T23:07:46.742Z").getTime(), tokens.getContent().get(1) .getExpirationTime()); assertEquals(TokenType.APIKEY, tokens.getContent().get(2).getTokenType()); }