public void test_ofCorrectedTo_Instant_null() { VersionCorrection test = VersionCorrection.ofCorrectedTo((InstantProvider) null); assertSame(VersionCorrection.LATEST, test); }
// ------------------------------------------------------------------------- public void test_ofCorrectedTo_Instant() { VersionCorrection test = VersionCorrection.ofCorrectedTo(INSTANT2); assertEquals(null, test.getVersionAsOf()); assertEquals(INSTANT2, test.getCorrectedTo()); }