METHOD_0 ( ) { java . lang . String [ ] values = new java . lang . String [ ] { STRING_0 , STRING_1 , STRING_2 } ; java . lang . String IDENT_0 = STRING_3 ; java . util . Map < java . lang . String , java . lang . String > expResult = new java . util . HashMap < java . lang . String , java . lang . String > ( ) ; expResult . put ( STRING_4 , STRING_5 ) ; expResult . put ( STRING_6 , STRING_7 ) ; expResult . put ( STRING_8 , STRING_9 ) ; java . util . Map < java . lang . String , java . lang . String > result = com . IDENT_1 . IDENT_2 . commons . util . IDENT_3 . METHOD_1 ( values , IDENT_0 , false , null , true ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String [ ] , java . lang . String , boolean , java . lang . String , boolean ) { final java . util . Map < java . lang . String , java . lang . String > map = new java . util . IDENT_4 < java . lang . String , java . lang . String > ( ) ; if ( ( values == null ) || ( ( values . length ) < 1 ) ) { return map ; } for ( final java . lang . String value : values ) { final java . lang . String [ ] IDENT_5 = org . apache . commons . lang . StringUtils . split ( value , IDENT_0 , ( IDENT_6 ? 2 : - 1 ) ) ; if ( ( ( IDENT_5 . length ) == 1 ) && IDENT_7 ) { if ( org . apache . commons . lang . StringUtils . startsWith ( value , IDENT_0 ) ) { continue ; } if ( ( org . apache . commons . lang . StringUtils . METHOD_2 ( IDENT_5 [ 0 ] ) ) != null ) { map . put ( org . apache . commons . lang . StringUtils . trim ( IDENT_5 [ 0 ] ) , org . apache . commons . lang . StringUtils . METHOD_3 ( IDENT_8 ) ) ; } } else if ( ( ( IDENT_5 . length ) == 2 ) && ( ( org . apache . commons . lang . StringUtils . METHOD_2 ( IDENT_5 [ 0 ] ) ) != null ) ) { map . put ( org . apache . commons . lang . StringUtils . trim ( IDENT_5 [ 0 ] ) , org . apache . commons . lang . StringUtils . METHOD_3 ( IDENT_5 [ 1 ] ) ) ; } } return map ; }
org . junit . Assert . assertEquals ( expResult , result )