Reputation: 2121
Is it possible to use the Guava testing for iterators? I've tried to extend IteratorTester
, but com.google.common.collect.testing.AbstractIteratorTester
isn't public such that it isn't possible to add a constructor. Maybe I have to use another class or it's just not made for the public? Thanks in advance.
Upvotes: 1
Views: 159
Reputation: 198093
This example from CollectionIteratorTester
provides an example of how to build an IteratorTester
.
Upvotes: 1