use of com.sun.tck.lib.tgf.TransformingIterator in project jtharness by openjdk.
the class TestTransformingIterator method testToString.
@Test
public void testToString() {
TransformingIterator iterator = new TransformingIterator(new LeafIterator(1, 2, 3), new Object() {
@Transform
int transform(int i) {
return i;
}
});
Assert.assertEquals("0", iterator.toString());
}
Aggregations