METHOD_0 ( ) { java . util . Map < java . lang . String , IDENT_0 . io . json . IDENT_1 > object = new java . util . IDENT_2 < java . lang . String , IDENT_0 . io . json . IDENT_1 > ( ) ; object . put ( "a" , new IDENT_0 . io . json . METHOD_1 ( STRING_0 ) ) ; object . put ( "b" , new IDENT_0 . io . json . METHOD_1 ( java . util . Arrays . asList ( new IDENT_0 . io . json . METHOD_1 ( 2 ) , new IDENT_0 . io . json . METHOD_1 ( FLOAT_0 ) , new IDENT_0 . io . json . METHOD_1 ( ( ( java . lang . Object ) ( null ) ) ) ) ) ) ; object . put ( STRING_1 , new IDENT_0 . io . json . METHOD_1 ( ( ( java . lang . Object ) ( null ) ) ) ) ; IDENT_0 . io . json . IDENT_3 value = new IDENT_0 . io . json . METHOD_2 ( new IDENT_0 . io . json . METHOD_1 ( object ) ) ; IDENT_0 . util . IDENT_4 < java . lang . String , java . lang . Object > expected = new IDENT_0 . util . IDENT_4 < java . lang . String , java . lang . Object > ( ) ; expected . put ( "a" , STRING_0 ) ; expected . put ( "b" , "2" ) ; expected . put ( "b" , STRING_2 ) ; expected . put ( "b" , "" ) ; expected . put ( STRING_1 , "" ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( ) { if ( values . isEmpty ( ) ) { return new IDENT_0 . util . IDENT_4 < java . lang . String , java . lang . String > ( 0 ) ; } java . util . Map < java . lang . String , IDENT_0 . io . json . METHOD_1 > map = values . get ( 0 ) . METHOD_3 ( ) ; if ( map == null ) { return new IDENT_0 . util . IDENT_4 < java . lang . String , java . lang . String > ( 0 ) ; } IDENT_0 . util . IDENT_4 < java . lang . String , java . lang . String > values = new IDENT_0 . util . IDENT_4 < java . lang . String , java . lang . String > ( ) ; for ( Map . Entry < java . lang . String , IDENT_0 . io . json . METHOD_1 > entry : map . entrySet ( ) ) { java . lang . String key = entry . getKey ( ) ; IDENT_0 . io . json . METHOD_1 value = entry . getValue ( ) ; if ( value . METHOD_4 ( ) ) { values . put ( key , "" ) ; continue ; } java . lang . Object obj = value . getValue ( ) ; if ( obj != null ) { values . put ( key , obj . toString ( ) ) ; continue ; } java . util . List < IDENT_0 . io . json . METHOD_1 > array = value . METHOD_5 ( ) ; if ( array != null ) { for ( IDENT_0 . io . json . METHOD_1 element : array ) { if ( element . METHOD_4 ( ) ) { values . put ( key , "" ) ; continue ; } obj = element . getValue ( ) ; if ( obj != null ) { values . put ( key , obj . toString ( ) ) ; } } } } return values ; }
org . junit . Assert . assertEquals ( expected , value . METHOD_0 ( ) )