METHOD_0 ( ) { IDENT_0 . IDENT_1 . IDENT_2 . util . command . args . IDENT_3 el = METHOD_1 ( IDENT_0 . IDENT_1 . IDENT_2 . util . IDENT_4 . METHOD_2 ( STRING_0 ) , com . google . common . collect . ImmutableMap . of ( "a" , STRING_1 , "b" , STRING_2 ) ) ; IDENT_0 . IDENT_1 . IDENT_2 . util . command . IDENT_5 context = IDENT_0 . IDENT_1 . IDENT_2 . util . command . IDENT_6 . METHOD_3 ( "a" , el ) ; "<AssertPlaceHolder>" ; expected . expect ( IDENT_0 . IDENT_1 . IDENT_2 . util . command . args . IDENT_7 . class ) ; IDENT_0 . IDENT_1 . IDENT_2 . util . command . IDENT_6 . METHOD_3 ( STRING_3 , el ) ; } METHOD_4 ( java . lang . String ) { java . util . Collection < java . lang . Object > values = IDENT_8 . get ( key ) ; if ( ( values . size ( ) ) != 1 ) { return null ; } else { return ( ( T ) ( values . iterator ( ) . next ( ) ) ) ; } }
org . junit . Assert . assertEquals ( STRING_1 , context . METHOD_4 ( STRING_0 ) )