### Question:
VersionTally { public int size() { return versionWindow.length; } VersionTally(final NetworkParameters params); void add(final long version); Integer getCountAtOrAbove(final long version); void initialize(final BlockStore blockStore, final StoredBlock chainHead); int size();  }### Answer:
@Test public void testSize() { VersionTally instance = new VersionTally(UNITTEST); assertEquals(UNITTEST.getMajorityWindow(), instance.size()); }
@Test public void testSize() { VersionTally instance = new VersionTally(PARAMS); assertEquals(PARAMS.getMajorityWindow(), instance.size()); }