METHOD_0 ( ) { object . add ( "a" , true ) ; object . add ( "a" , true ) ; "<AssertPlaceHolder>" ; } indexOf ( org . eclipse . IDENT_0 . widgets . grid . IDENT_1 ) { METHOD_1 ( ) ; if ( item == null ) { org . eclipse . swt . IDENT_2 . error ( IDENT_2 . IDENT_3 ) ; } if ( item . METHOD_2 ( ) ) { org . eclipse . swt . IDENT_2 . error ( IDENT_2 . IDENT_4 ) ; } if ( ! ( IDENT_5 ) ) { throw new java . lang . IllegalArgumentException ( STRING_0 ) ; } return ( item . METHOD_3 ( ) ) == ( this ) ? item . index : - 1 ; }
org . junit . Assert . assertEquals ( 1 , object . indexOf ( "a" ) )