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