METHOD_0 ( ) { IDENT_0 . core . collections . IDENT_1 < java . lang . String > map = new IDENT_0 . core . collections . METHOD_1 ( ) ; map . put ( 1 , "a" ) ; map . put ( 5 , "b" ) ; map . put ( INT_0 , "a" ) ; java . util . List < java . lang . String > values = map . METHOD_2 ( ) ; java . util . Collections . METHOD_3 ( values ) ; java . util . List < java . lang . String > expected = com . google . common . collect . Lists . newArrayList ( "a" , "a" , "b" ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { java . util . List < T > result = new java . util . ArrayList ( ) ; for ( int i = 0 ; i < ( keys . length ) ; i ++ ) { int key = keys [ i ] ; if ( key >= 0 ) { result . add ( values [ i ] ) ; } } return result ; }
org . junit . Assert . assertEquals ( expected , values )