PagedDatabaseResult implements Serializable { public List<Item> getItems() { return items; } PagedDatabaseResult(List<Item> items, Object nextToken); List<Item> getItems(); Object getNextToken();  }
@Test public void testGetItems_1() throws Exception { PagedDatabaseResult fixture = new PagedDatabaseResult(new LinkedList(), new Object()); List<Item> result = fixture.getItems(); assertNotNull(result); assertEquals(0, result.size()); }