METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . Integer > map = new java . util . HashMap < java . lang . String , java . lang . Integer > ( ) ; map . put ( "foo" , INT_0 ) ; map . put ( "bar" , INT_1 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 < java . lang . String , java . lang . Integer > IDENT_3 = com . IDENT_0 . IDENT_1 . IDENT_2 . apply ( map ) ; java . lang . Integer actual = IDENT_3 . METHOD_1 ( "foo" , INT_2 ) ; java . lang . Integer expected = INT_0 ; "<AssertPlaceHolder>" ; } METHOD_1 ( IDENT_4 , IDENT_5 ) { if ( key == null ) { return IDENT_6 ; } IDENT_5 value = map . get ( key ) ; if ( value == null ) { return IDENT_6 ; } else { return value ; } }
org . junit . Assert . assertThat ( actual , org . hamcrest . CoreMatchers . is ( org . hamcrest . CoreMatchers . equalTo ( expected ) ) )