LocalHistoryFailure extends RequestFailure<LocalHistoryIdentifier, LocalHistoryFailure> { @Override protected LocalHistoryFailure cloneAsVersion(final ABIVersion version) { return this; } LocalHistoryFailure(final LocalHistoryIdentifier target, final long sequence, final RequestException cause);   }
@Test public void cloneAsVersionTest() { final LocalHistoryFailure clone = OBJECT.cloneAsVersion(ABIVersion.current()); Assert.assertEquals(OBJECT, clone); }