VersionContainer implements Serializable { public List<T> getEntities() { return entities; } VersionContainer(List<T> entities, int version); List<T> getEntities(); int getVersion();  }
@Test public void testGetEntities_1() throws Exception { VersionContainer fixture = new VersionContainer(new LinkedList(), 1); List<Serializable> result = fixture.getEntities(); assertNotNull(result); }