METHOD_0 ( ) { org . eclipse . IDENT_0 . widgets . grid . IDENT_1 [ ] IDENT_2 = org . eclipse . IDENT_0 . widgets . grid . IDENT_3 . METHOD_1 ( grid , 20 , 3 ) ; grid . METHOD_2 ( 12 ) ; grid . METHOD_3 ( IDENT_2 [ 4 ] ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( ) { METHOD_5 ( ) ; if ( ( IDENT_4 ) == ( - 1 ) ) { METHOD_6 ( ) ; if ( IDENT_5 . METHOD_7 ( ) ) { int IDENT_6 = IDENT_5 . METHOD_8 ( ) ; if ( IDENT_7 ) { java . util . Iterator < org . eclipse . IDENT_0 . widgets . grid . IDENT_1 > iterator = IDENT_2 . iterator ( ) ; int row = IDENT_6 + 1 ; while ( ( row > 0 ) && ( iterator . hasNext ( ) ) ) { org . eclipse . IDENT_0 . widgets . grid . IDENT_1 item = iterator . next ( ) ; if ( item . METHOD_9 ( ) ) { row OP_0 ; if ( row == 0 ) { IDENT_6 = IDENT_2 . indexOf ( item ) ; } } } } IDENT_4 = IDENT_6 ; } else { IDENT_4 = 0 ; } } return IDENT_4 ; }
org . junit . Assert . assertEquals ( 4 , grid . METHOD_4 ( ) )