assertArraysContainSameElements(expectedTo, actualTo);
}
}
private void addHistoricalState(Integer one, Integer two, Integer three, Integer four) throws IOException {
if(one != null) stateEngine.add("TypeA", new TypeA(1, one.intValue()));
if(two != null) stateEngine.add("TypeA", new TypeA(2, two.intValue()));
if(three != null) stateEngine.add("TypeA", new TypeA(3, three.intValue()));
if(four != null) stateEngine.add("TypeA", new TypeA(4, four.intValue()));
stateEngine.setLatestVersion(String.valueOf(++versionCounter));
roundTripObjects(stateEngine);
diffHistory.addState();