FutureAxis extends AbstractTemporalAxis<R, W> { public FutureAxis(final ResourceManager<R, W> resourceManager, final R rtx) { this(resourceManager, rtx, IncludeSelf.NO); } FutureAxis(final ResourceManager<R, W> resourceManager, final R rtx);  FutureAxis(final ResourceManager<R, W> resourceManager, final R rtx, final IncludeSelf includeSelf); @Override ResourceManager<R, W> getResourceManager();  }
@Test public void testFutureAxis() { final XmlNodeReadOnlyTrx firstRtx = holder.getResourceManager().beginNodeReadOnlyTrx(1); final XmlNodeReadOnlyTrx secondRtx = holder.getResourceManager().beginNodeReadOnlyTrx(2); final XmlNodeReadOnlyTrx thirdRtx = holder.getXmlNodeReadTrx(); new IteratorTester<>(ITERATIONS, IteratorFeature.UNMODIFIABLE, ImmutableList.of(secondRtx, thirdRtx), null) { @Override protected Iterator<XmlNodeReadOnlyTrx> newTargetIterator() { return new FutureAxis<>(firstRtx.getResourceManager(), firstRtx); } }.test(); }