METHOD_0 ( ) { IDENT_0 . util . IDENT_1 . Map < java . lang . Integer , java . lang . Integer > original = new IDENT_0 . util . IDENT_1 . HashMap ( ) ; original . put ( 1 , 1 ) ; original . put ( 2 , 5 ) ; original . put ( 3 , 3 ) ; original . put ( 4 , 4 ) ; IDENT_0 . util . IDENT_1 . Map < java . lang . Integer , java . lang . Integer > expected = new IDENT_0 . util . IDENT_1 . HashMap ( ) ; expected . put ( 1 , 1 ) ; expected . put ( 3 , 9 ) ; expected . put ( 4 , 16 ) ; IDENT_0 . util . IDENT_1 . Map < java . lang . Integer , java . lang . Integer > actual = IDENT_0 . util . IDENT_1 . IDENT_2 . of ( original ) . METHOD_1 ( ( key , value ) -> { if ( key . equals ( value ) ) { return IDENT_0 . util . IDENT_1 . Optional . of ( ( key * value ) ) ; } return IDENT_0 . util . IDENT_1 . Optional . empty ( ) ; } ) . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { IDENT_0 . util . IDENT_1 . Map < IDENT_3 , IDENT_4 > map = ( IDENT_0 . util . IDENT_1 . IDENT_2 . METHOD_3 ( ) ) ? new java . util . concurrent . METHOD_4 ( ) : new IDENT_0 . util . IDENT_1 . HashMap ( ) ; METHOD_5 ( IDENT_0 . util . IDENT_1 . IDENT_2 . METHOD_6 ( map ) ) ; return map ; }
org . junit . Assert . assertEquals ( expected , actual )