Package org.shredzone.acme4j.connector
Class ResourceIteratorTest
java.lang.Object
org.shredzone.acme4j.connector.ResourceIteratorTest
Unit test for
ResourceIterator
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test if theResourceIterator
returns all objects in the correct order.void
Test unusualIterator.next()
andIterator.hasNext()
usage.void
nullTest()
Test if theResourceIterator
handles anull
start URL.void
Test thatIterator.remove()
fails.void
setup()
-
Constructor Details
-
ResourceIteratorTest
public ResourceIteratorTest()
-
-
Method Details
-
setup
-
nullTest
Test if theResourceIterator
handles anull
start URL. -
iteratorTest
Test if theResourceIterator
returns all objects in the correct order.- Throws:
IOException
-
nextHasNextTest
Test unusualIterator.next()
andIterator.hasNext()
usage.- Throws:
IOException
-
removeTest
Test thatIterator.remove()
fails.
-