METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 < java . lang . Object > message = METHOD_1 ( "foo" ) ; org . IDENT_0 . serialization . IDENT_3 < byte [ ] > IDENT_4 = message . METHOD_2 ( serializer , byte [ ] . class ) ; java . util . Map < java . lang . String , java . lang . Object > expected = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) { { put ( org . IDENT_0 . IDENT_5 . IDENT_6 , message . METHOD_3 ( ) ) ; put ( org . IDENT_0 . IDENT_5 . IDENT_7 , IDENT_4 . getType ( ) . getName ( ) ) ; put ( org . IDENT_0 . IDENT_5 . IDENT_8 , IDENT_4 . getType ( ) . METHOD_4 ( ) ) ; put ( org . IDENT_0 . IDENT_5 . IDENT_9 , message . METHOD_5 ( ) ) ; } } ; "<AssertPlaceHolder>" ; } METHOD_6 ( org . IDENT_0 . IDENT_1 . IDENT_2 , org . IDENT_0 . serialization . IDENT_3 ) { org . IDENT_0 . common . Assert . METHOD_7 ( message , ( ) -> STRING_0 ) ; org . IDENT_0 . common . Assert . METHOD_7 ( IDENT_4 , ( ) -> STRING_1 ) ; org . IDENT_0 . common . Assert . METHOD_7 ( IDENT_4 . getType ( ) , ( ) -> STRING_2 ) ; java . util . HashMap < java . lang . String , java . lang . Object > headers = new java . util . HashMap ( ) ; headers . put ( org . IDENT_0 . IDENT_5 . IDENT_10 . IDENT_6 , message . METHOD_3 ( ) ) ; headers . put ( org . IDENT_0 . IDENT_5 . IDENT_10 . IDENT_7 , IDENT_4 . getType ( ) . getName ( ) ) ; headers . put ( org . IDENT_0 . IDENT_5 . IDENT_10 . IDENT_8 , IDENT_4 . getType ( ) . METHOD_4 ( ) ) ; headers . put ( org . IDENT_0 . IDENT_5 . IDENT_10 . IDENT_9 , message . METHOD_5 ( ) ) ; if ( message instanceof org . IDENT_0 . IDENT_1 . IDENT_11 ) { headers . put ( org . IDENT_0 . IDENT_5 . IDENT_10 . IDENT_12 , ( ( org . IDENT_0 . IDENT_1 . IDENT_11 < ? > ) ( message ) ) . METHOD_8 ( ) ) ; headers . put ( org . IDENT_0 . IDENT_5 . IDENT_10 . IDENT_13 , ( ( org . IDENT_0 . IDENT_1 . IDENT_11 < ? > ) ( message ) ) . METHOD_9 ( ) ) ; headers . put ( org . IDENT_0 . IDENT_5 . IDENT_10 . IDENT_14 , ( ( org . IDENT_0 . IDENT_1 . IDENT_11 < ? > ) ( message ) ) . getType ( ) ) ; } return java . util . Collections . METHOD_10 ( headers ) ; }
org . junit . Assert . assertThat ( METHOD_6 ( message , IDENT_4 ) , org . hamcrest . CoreMatchers . is ( expected ) )