METHOD_0 ( ) { final javax . json . IDENT_0 IDENT_1 = METHOD_1 ( STRING_0 ) ; final uk . gov . IDENT_2 . services . IDENT_3 . IDENT_4 metadata = uk . gov . IDENT_2 . services . IDENT_3 . IDENT_5 . METHOD_2 ( IDENT_1 . METHOD_3 ( uk . gov . IDENT_2 . services . IDENT_3 . IDENT_6 . IDENT_7 ) ) . build ( ) ; final javax . json . IDENT_8 payload = IDENT_9 . METHOD_4 ( IDENT_1 ) ; final uk . gov . IDENT_2 . services . IDENT_3 . IDENT_5 IDENT_10 = uk . gov . IDENT_2 . services . IDENT_3 . IDENT_5 . METHOD_5 ( metadata , payload ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( uk . gov . IDENT_2 . services . IDENT_3 . IDENT_5 ) { final uk . gov . IDENT_2 . services . IDENT_3 . IDENT_4 metadata = IDENT_10 . metadata ( ) ; if ( metadata == null ) { throw new java . lang . IllegalArgumentException ( STRING_1 ) ; } final javax . json . IDENT_11 builder = METHOD_7 ( ) ; builder . add ( uk . gov . IDENT_2 . services . IDENT_3 . IDENT_5 . IDENT_7 , metadata . METHOD_8 ( ) ) ; final javax . json . IDENT_8 . IDENT_12 IDENT_13 = IDENT_10 . payload ( ) . METHOD_9 ( ) ; if ( IDENT_13 == ( IDENT_14 ) ) { final javax . json . IDENT_0 IDENT_15 = IDENT_10 . METHOD_10 ( ) ; METHOD_10 . METHOD_11 ( ) . METHOD_12 ( ( key ) -> builder . add ( key , METHOD_10 . get ( key ) ) ) ; } else { throw new java . lang . IllegalArgumentException ( java . lang . String . format ( STRING_2 , IDENT_13 ) ) ; } return builder . build ( ) ; }
org . junit . Assert . assertThat ( IDENT_9 . METHOD_6 ( IDENT_10 ) , org . hamcrest . CoreMatchers . equalTo ( IDENT_1 ) )