METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . Object > input = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) { { put ( STRING_0 , "1" ) ; put ( STRING_1 , new java . util . HashMap < java . lang . String , java . lang . Object > ( ) { { put ( "a" 0 , "2" ) ; } } ) ; } } ; java . util . Map < java . lang . String , java . lang . Object > expect = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) { { put ( STRING_0 , "1" ) ; put ( STRING_1 , new java . util . HashMap < java . lang . String , java . lang . Object > ( ) { { put ( "a" , STRING_2 ) ; put ( "a" 0 , "2" ) ; } } ) ; put ( "a" , new java . util . HashMap < java . lang . String , java . lang . Object > ( ) { { put ( "b" , new java . util . HashMap < java . lang . String , java . lang . Object > ( ) { { put ( STRING_3 , STRING_4 ) ; } } ) ; } } ) ; } } ; com . IDENT_0 . IDENT_1 . util . IDENT_2 . METHOD_1 ( input , STRING_5 , STRING_4 ) ; com . IDENT_0 . IDENT_1 . util . IDENT_2 . METHOD_1 ( input , "a" 1 , STRING_2 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . util . Map , java . lang . String , java . lang . Object ) { if ( path == null ) { return map . put ( null , value ) ; } java . lang . String [ ] IDENT_3 = com . IDENT_0 . IDENT_1 . util . StringUtils . split ( path , "/" ) ; int len = ( IDENT_3 . length ) - 1 ; for ( int i = 0 ; i < len ; i ++ ) { java . lang . String name = IDENT_3 [ i ] ; java . lang . Object IDENT_4 = map . get ( name ) ; if ( ! ( IDENT_4 instanceof java . util . Map ) ) { IDENT_4 = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; map . put ( name , IDENT_4 ) ; } map = ( ( java . util . Map < java . lang . String , java . lang . Object > ) ( IDENT_4 ) ) ; } return map . put ( IDENT_3 [ len ] , value ) ; }
org . junit . Assert . assertEquals ( expect , input )