METHOD_0 ( ) { java . util . List < java . lang . Object > list = new com . baeldung . java . list . METHOD_1 ( ) ; list . add ( STRING_0 ) ; "<AssertPlaceHolder>" ; } indexOf ( java . lang . Object ) { for ( int i = 0 ; i < ( internal . length ) ; i ++ ) { if ( object . equals ( internal [ i ] ) ) { return i ; } } return - 1 ; }
org . junit . Assert . assertEquals ( 0 , list . indexOf ( STRING_0 ) )