@Test public void ignoresAssertionsIfUnchanged() throws Exception { final IterationState iterationState = new IterationState( newArrayList( CursorQuad.create("subj", "pred", Direction.OUT, ASSERTED, "obj", null, null, "") ).stream(), newArrayList( CursorQuad.create("subj", "pred", Direction.OUT, UNCHANGED, "obj", null, null, "") ).stream(), false ); assertThat(iterationState.hasNext(), is(false)); }
@Override public boolean hasNext() { return currentQuad != null; }
IterationState implements Iterator<CursorQuad> { @Override public boolean hasNext() { return currentQuad != null; } }
IterationState implements Iterator<CursorQuad> { @Override public boolean hasNext() { return currentQuad != null; } IterationState(Stream<CursorQuad> assertions, Stream<CursorQuad> currentState, boolean getAsserted); }
IterationState implements Iterator<CursorQuad> { @Override public boolean hasNext() { return currentQuad != null; } IterationState(Stream<CursorQuad> assertions, Stream<CursorQuad> currentState, boolean getAsserted); @Override boolean hasNext(); @Override CursorQuad next(); }
IterationState implements Iterator<CursorQuad> { @Override public boolean hasNext() { return currentQuad != null; } IterationState(Stream<CursorQuad> assertions, Stream<CursorQuad> currentState, boolean getAsserted); @Override boolean hasNext(); @Override CursorQuad next();  }