public class FilteratorTest extends Object
Constructor and Description |
---|
FilteratorTest() |
Modifier and Type | Method and Description |
---|---|
void |
callingNextOnEmptyIteratorThrows() |
void |
callingNextOnSingleElementIteratorWithoutCheckingHasNext() |
void |
doesNotHaveNextWhenWrappedIteratorIsEmpty() |
void |
doesNotHaveNextWhenWrappedIteratorOnlyContainsExclude() |
void |
excludeSingleValue() |
void |
repeatedCallsToHasNextDoesNotMoveIterator() |
@Test public void excludeSingleValue()
@Test public void doesNotHaveNextWhenWrappedIteratorIsEmpty()
@Test public void doesNotHaveNextWhenWrappedIteratorOnlyContainsExclude()
@Test public void callingNextOnEmptyIteratorThrows()
@Test public void callingNextOnSingleElementIteratorWithoutCheckingHasNext()
@Test public void repeatedCallsToHasNextDoesNotMoveIterator()
Copyright © 2017–2018 earcam. All rights reserved.