@Test public void cloneAsVersionTest() { final LocalHistorySuccess clone = OBJECT.cloneAsVersion(ABIVersion.BORON); assertEquals(ABIVersion.BORON, clone.getVersion()); assertEquals(OBJECT.getSequence(), clone.getSequence()); assertEquals(OBJECT.getTarget(), clone.getTarget()); }
@Override protected LocalHistorySuccess cloneAsVersion(final ABIVersion version) { return new LocalHistorySuccess(this, version); }
LocalHistorySuccess extends RequestSuccess<LocalHistoryIdentifier, LocalHistorySuccess> { @Override protected LocalHistorySuccess cloneAsVersion(final ABIVersion version) { return new LocalHistorySuccess(this, version); } }
LocalHistorySuccess extends RequestSuccess<LocalHistoryIdentifier, LocalHistorySuccess> { @Override protected LocalHistorySuccess cloneAsVersion(final ABIVersion version) { return new LocalHistorySuccess(this, version); } LocalHistorySuccess(final LocalHistoryIdentifier target, final long sequence); private  LocalHistorySuccess(final LocalHistorySuccess success, final ABIVersion version); }
LocalHistorySuccess extends RequestSuccess<LocalHistoryIdentifier, LocalHistorySuccess> { @Override protected LocalHistorySuccess cloneAsVersion(final ABIVersion version) { return new LocalHistorySuccess(this, version); } LocalHistorySuccess(final LocalHistoryIdentifier target, final long sequence); private  LocalHistorySuccess(final LocalHistorySuccess success, final ABIVersion version);  }
LocalHistorySuccess extends RequestSuccess<LocalHistoryIdentifier, LocalHistorySuccess> { @Override protected LocalHistorySuccess cloneAsVersion(final ABIVersion version) { return new LocalHistorySuccess(this, version); } LocalHistorySuccess(final LocalHistoryIdentifier target, final long sequence); private  LocalHistorySuccess(final LocalHistorySuccess success, final ABIVersion version);   }