METHOD_0 ( ) { java . util . ArrayList < com . IDENT_0 . IDENT_1 . operation . IDENT_2 . IDENT_3 > IDENT_4 = new java . util . ArrayList < com . IDENT_0 . IDENT_1 . operation . IDENT_2 . IDENT_3 > ( ) ; IDENT_4 . add ( new com . IDENT_0 . IDENT_1 . operation . IDENT_2 . metadata . METHOD_1 ( "foo" , java . util . Collections . emptyList ( ) , java . util . Arrays . asList ( STRING_0 ) , true ) ) ; com . IDENT_0 . IDENT_1 . IDENT_5 . IDENT_6 . IDENT_7 IDENT_8 = new com . IDENT_0 . IDENT_1 . IDENT_5 . IDENT_6 . METHOD_2 ( ) ; com . IDENT_0 . IDENT_1 . IDENT_9 IDENT_10 = new com . IDENT_0 . IDENT_1 . METHOD_3 ( "" , null , 10 ) ; IDENT_10 . METHOD_4 ( IDENT_8 ) ; IDENT_10 . METHOD_5 ( 20 ) ; com . IDENT_0 . IDENT_1 . operation . IDENT_2 . IDENT_11 op = new com . IDENT_0 . IDENT_1 . operation . IDENT_2 . METHOD_6 ( IDENT_4 ) ; op . METHOD_7 ( IDENT_10 ) ; java . util . Map < java . lang . String , java . lang . Object > expected = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) { { put ( STRING_1 , new java . lang . Long ( 10 ) ) ; put ( STRING_2 , STRING_3 ) ; put ( STRING_4 , new java . lang . Long ( 20 ) ) ; } } ; "<AssertPlaceHolder>" ; } METHOD_8 ( java . lang . String ) { if ( ( this . payload ) == null ) { throw new com . IDENT_0 . IDENT_1 . IDENT_12 . METHOD_9 ( ( field + STRING_5 ) ) ; } com . google . gson . IDENT_13 json = this . payload . METHOD_10 ( ) ; java . lang . Object obj ; try { obj = com . IDENT_0 . IDENT_1 . IDENT_12 . json . IDENT_14 . read ( json , field ) ; } catch ( com . IDENT_15 . IDENT_16 . IDENT_17 e ) { throw new com . IDENT_0 . IDENT_1 . IDENT_12 . METHOD_9 ( ( ( STRING_6 + field ) + STRING_7 ) ) ; } if ( ( obj == null ) || ( obj instanceof com . google . gson . IDENT_18 ) ) { throw new com . IDENT_0 . IDENT_1 . IDENT_12 . METHOD_9 ( ( field + STRING_8 ) ) ; } if ( obj instanceof com . google . gson . IDENT_19 ) { if ( ( ( com . google . gson . IDENT_19 ) ( obj ) ) . METHOD_11 ( ) ) { return ( ( com . google . gson . IDENT_19 ) ( obj ) ) . METHOD_12 ( ) ; } } return obj ; }
org . junit . Assert . assertEquals ( expected , IDENT_8 . METHOD_8 ( "foo" ) )