METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . commons . IDENT_2 a = new com . IDENT_0 . IDENT_1 . commons . METHOD_1 ( 1 ) ; com . IDENT_0 . IDENT_1 . commons . METHOD_1 actual = t . METHOD_2 ( a , 1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( com . IDENT_0 . IDENT_1 . commons . METHOD_1 , int ) { if ( IDENT_3 == null ) { return null ; } int length = 1 ; com . IDENT_0 . IDENT_1 . commons . METHOD_1 p = IDENT_3 ; while ( ( p . next ) != null ) { p = p . next ; length ++ ; } n = n OP_0 length ; p = IDENT_3 ; for ( int i = 0 ; i < n ; i ++ ) { p = p . next ; if ( p == null ) { return null ; } } com . IDENT_0 . IDENT_1 . commons . METHOD_1 IDENT_4 = IDENT_3 ; while ( ( p . next ) != null ) { IDENT_4 = IDENT_4 . next ; p = p . next ; } p . next = IDENT_3 ; p = IDENT_4 ; IDENT_4 = IDENT_4 . next ; p . next = null ; return IDENT_4 ; }
org . junit . Assert . assertEquals ( 1 , actual . val )