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