METHOD_0 ( ) { IDENT_0 . IDENT_1 list = IDENT_0 . IDENT_1 . of ( 1 , 2 , 3 , 4 , 5 ) ; list . next . next . next . next . next = list . next ; "<AssertPlaceHolder>" ; } METHOD_1 ( IDENT_0 . IDENT_1 ) { IDENT_0 . IDENT_1 runner = IDENT_2 ; IDENT_0 . IDENT_1 IDENT_3 = IDENT_2 ; while ( ( runner != null ) && ( ( runner . next ) != null ) ) { runner = runner . next . next ; IDENT_3 = IDENT_3 . next ; if ( runner == IDENT_3 ) break ; } if ( ( runner == null ) || ( ( runner . next ) == null ) ) return null ; IDENT_3 = IDENT_2 ; while ( runner != IDENT_3 ) { runner = runner . next ; IDENT_3 = IDENT_3 . next ; } return runner ; }
org . junit . Assert . assertEquals ( 2 , s . METHOD_1 ( list ) . val )