METHOD_0 ( ) { java . lang . Object [ ] array = new java . lang . Integer [ ] { 1 , 2 , 3 } ; java . lang . Object element = 3 ; int expResult = 2 ; int result = org . hibernate . IDENT_0 . util . impl . IDENT_1 . indexOf ( array , element ) ; "<AssertPlaceHolder>" ; } indexOf ( T [ ] , T ) { for ( int i = 0 ; i < ( array . length ) ; i ++ ) { if ( array [ i ] . equals ( element ) ) { return i ; } } return - 1 ; }
org . junit . Assert . assertEquals ( expResult , result )