// Path: segment/src/main/java/net/loomchild/segment/TextIterator.java
// public interface TextIterator extends Iterator<String> {
// 
// 	/**
// 	 * @return next segment in text, or null if end of text has been
// 	 *         reached.
// 	 */
// 	public String next();
// 
// 	/**
// 	 * @return true if there are more segments
// 	 */
// 	public boolean hasNext();
// 
// 	/**
// 	 * Unsupported operation.
// 	 * 
// 	 * @throws UnsupportedOperationException
// 	 */
// 	public void remove();
// 
// }


import java.io.StringReader;
import java.util.HashMap;
import java.util.Map;
import net.loomchild.segment.TextIterator;
package net.loomchild.segment.srx;



public class SrxTextIteratorReaderTest extends AbstractSrxTextIteratorTest {

	private static final int BUFFER_SIZE = 60;
	
	private static final int MARGIN = 10;
	
// Path: segment/src/main/java/net/loomchild/segment/TextIterator.java
// public interface TextIterator extends Iterator<String> {
// 
// 	/**
// 	 * @return next segment in text, or null if end of text has been
// 	 *         reached.
// 	 */
// 	public String next();
// 
// 	/**
// 	 * @return true if there are more segments
// 	 */
// 	public boolean hasNext();
// 
// 	/**
// 	 * Unsupported operation.
// 	 * 
// 	 * @throws UnsupportedOperationException
// 	 */
// 	public void remove();
// 
// }


// Path: segment/src/test/java/net/loomchild/segment/srx/SrxTextIteratorReaderTest.java
import java.io.StringReader;
import java.util.HashMap;
import java.util.Map;
import net.loomchild.segment.TextIterator;

package net.loomchild.segment.srx;



public class SrxTextIteratorReaderTest extends AbstractSrxTextIteratorTest {

	private static final int BUFFER_SIZE = 60;
	
	private static final int MARGIN = 10;
	
	protected TextIterator getTextIterator(SrxDocument document,