question: public void testStepLargerThanRange ( ) { final List callLog = new ArrayList ( ) ; final Closure closure = new RecordingClosure ( callLog ) ; final Range range = createRange ( 1 , 5 ) ; range . step ( 6 , closure ) ; assertEquals ( "wrong number of calls to closure" , 1 , callLog . size ( ) ) ; assertEquals ( "wrong value" , createValue ( 1 ) , callLog . get ( 0 ) ) ; final List stepList = range . step ( 6 ) ; assertEquals ( "wrong number of values in result" , 1 , stepList . size ( ) ) ; assertEquals ( "wrong value" , createValue ( 1 ) , callLog . get ( 0 ) ) ; }
target:  Tests stepping backwards through a range with a step size greater than the range size.