{
char[] ch = new char[] {'A', 'B', 'C', 'D', 'E', 'F', 'G'};
Segment s = new Segment(ch, 0, 7);
harness.check(s.current(), 'A');
s.last();
harness.check(s.current(), 'G');
s.next();
harness.check(s.current(), CharacterIterator.DONE);
s.first();
harness.check(s.current(), 'A');
s.previous();