METHOD_0 ( ) { java . util . List < com . IDENT_0 . IDENT_1 . IDENT_2 . regex . IDENT_3 > fields = new java . util . ArrayList ( ) ; fields . add ( new com . IDENT_0 . IDENT_1 . IDENT_2 . regex . METHOD_1 ( "foo" , com . IDENT_0 . IDENT_1 . IDENT_2 . regex . METHOD_1 . IDENT_4 . IDENT_5 ) ) ; com . google . IDENT_6 . IDENT_7 p = com . google . IDENT_6 . IDENT_7 . METHOD_2 ( STRING_0 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . regex . IDENT_8 IDENT_9 = new com . IDENT_0 . IDENT_1 . IDENT_2 . regex . METHOD_3 ( p , fields ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_10 event = IDENT_9 . METHOD_4 ( STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . lang . String ) { if ( ( this . payload ) == null ) { throw new com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_6 ( ( field + STRING_2 ) ) ; } com . google . gson . IDENT_11 json = this . payload . METHOD_7 ( ) ; java . lang . Object obj ; try { obj = com . IDENT_0 . IDENT_1 . IDENT_2 . json . IDENT_12 . read ( json , field ) ; } catch ( com . IDENT_13 . IDENT_14 . IDENT_15 e ) { throw new com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_6 ( ( ( STRING_3 + field ) + STRING_4 ) ) ; } if ( ( obj == null ) || ( obj instanceof com . google . gson . IDENT_16 ) ) { throw new com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_6 ( ( field + STRING_5 ) ) ; } if ( obj instanceof com . google . gson . IDENT_17 ) { if ( ( ( com . google . gson . IDENT_17 ) ( obj ) ) . METHOD_8 ( ) ) { return ( ( com . google . gson . IDENT_17 ) ( obj ) ) . METHOD_9 ( ) ; } } return obj ; }
org . junit . Assert . assertEquals ( STRING_1 , event . METHOD_5 ( "foo" ) )