METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . String > IDENT_0 = com . google . common . collect . ImmutableMap . of ( STRING_0 , STRING_1 , STRING_2 , STRING_3 ) ; when ( template . METHOD_1 ( ) ) . thenReturn ( IDENT_0 ) ; java . util . Map < java . lang . String , java . lang . String > params = METHOD_2 ( ) . METHOD_3 ( binding ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( com . IDENT_1 . IDENT_2 . IDENT_3 ) { final java . util . Map < java . lang . String , java . lang . String > params = new java . util . HashMap ( ) ; params . METHOD_4 ( template . METHOD_1 ( ) ) ; for ( Map . Entry < java . lang . String , com . IDENT_1 . IDENT_2 . IDENT_4 > IDENT_5 : IDENT_6 . entrySet ( ) ) { java . lang . String value = null ; com . IDENT_1 . IDENT_7 . internal . IDENT_8 IDENT_9 = null ; if ( ( IDENT_5 . getValue ( ) ) != null ) { IDENT_9 = ( ( com . IDENT_1 . IDENT_7 . internal . IDENT_8 ) ( IDENT_5 . getValue ( ) . get ( binding ) ) ) ; } if ( IDENT_9 == null ) { value = template . METHOD_5 ( IDENT_5 . getKey ( ) ) ; if ( ( value != null ) && ( value . isEmpty ( ) ) ) { continue ; } } else { value = IDENT_9 . METHOD_6 ( ) ; } if ( value == null ) { if ( template . METHOD_7 ( IDENT_5 . getKey ( ) ) ) { throw new java . lang . IllegalArgumentException ( ( STRING_4 + ( IDENT_5 . getKey ( ) ) ) ) ; } else { continue ; } } params . put ( IDENT_5 . getKey ( ) , value ) ; } return params ; }
org . junit . Assert . assertThat ( params . entrySet ( ) , org . hamcrest . Matchers . equalTo ( IDENT_0 . entrySet ( ) ) )