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