METHOD_0 ( ) { edu . IDENT_0 . IDENT_1 . IDENT_2 . Map < java . lang . String , java . lang . String > map = new edu . IDENT_0 . IDENT_1 . IDENT_2 . HashMap ( ) ; map . put ( STRING_0 1 , STRING_1 ) ; map . put ( STRING_2 , STRING_3 ) ; map . put ( STRING_4 , STRING_0 0 ) ; map . put ( STRING_5 , STRING_0 3 ) ; edu . IDENT_0 . IDENT_1 . IDENT_2 . Map < java . lang . String , edu . IDENT_0 . IDENT_1 . IDENT_2 . Map < java . lang . String , java . lang . String > > expect = new edu . IDENT_0 . IDENT_1 . IDENT_2 . HashMap ( ) ; edu . IDENT_0 . IDENT_1 . IDENT_2 . Map < java . lang . String , java . lang . String > IDENT_3 = new edu . IDENT_0 . IDENT_1 . IDENT_2 . HashMap ( ) ; IDENT_3 . put ( STRING_6 , STRING_1 ) ; IDENT_3 . put ( STRING_7 , STRING_3 ) ; expect . put ( STRING_0 2 , IDENT_3 ) ; expect . put ( STRING_0 , edu . IDENT_0 . IDENT_1 . IDENT_2 . Collections . METHOD_1 ( STRING_8 , STRING_0 0 ) ) ; expect . put ( "" , edu . IDENT_0 . IDENT_1 . IDENT_2 . Collections . METHOD_1 ( STRING_5 , STRING_0 3 ) ) ; edu . IDENT_0 . IDENT_1 . IDENT_2 . Map < java . lang . String , edu . IDENT_0 . IDENT_1 . IDENT_2 . Map < java . lang . String , java . lang . String > > actual = edu . IDENT_0 . IDENT_1 . IDENT_2 . util . IDENT_4 . METHOD_2 ( map ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . util . Map ) { java . util . Map < java . lang . String , java . util . Map < java . lang . String , java . lang . String > > IDENT_5 = new java . util . HashMap ( ) ; for ( Map . Entry < java . lang . String , java . lang . String > entry : options . entrySet ( ) ) { java . lang . String key = entry . getKey ( ) ; int IDENT_6 = key . indexOf ( STRING_9 ) ; if ( IDENT_6 == 0 ) throw new java . lang . IllegalArgumentException ( ( STRING_10 + entry ) ) ; java . lang . String IDENT_7 = ( IDENT_6 == ( - 1 ) ) ? "" : key . substring ( 0 , IDENT_6 ) ; java . lang . String IDENT_8 = ( IDENT_6 == ( - 1 ) ) ? key : key . substring ( ( IDENT_6 + 1 ) ) ; java . util . Map < java . lang . String , java . lang . String > IDENT_9 = IDENT_5 . get ( IDENT_7 ) ; if ( IDENT_9 == null ) { IDENT_9 = new java . util . HashMap ( ) ; } IDENT_9 . put ( IDENT_8 , entry . getValue ( ) ) ; IDENT_5 . put ( IDENT_7 , IDENT_9 ) ; } return IDENT_5 ; }
org . junit . Assert . assertEquals ( expect , actual )