METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . serializer . IDENT_2 IDENT_3 = mock ( org . IDENT_0 . IDENT_1 . serializer . IDENT_2 . class ) ; org . IDENT_0 . IDENT_1 . serializer . IDENT_2 IDENT_4 = mock ( org . IDENT_0 . IDENT_1 . serializer . IDENT_2 . class ) ; when ( IDENT_5 . METHOD_1 ( ) ) . thenReturn ( new org . IDENT_0 . IDENT_1 . serializer . IDENT_2 [ ] { IDENT_3 , IDENT_4 } ) ; when ( IDENT_3 . METHOD_2 ( java . lang . String . class , java . lang . String . class , IDENT_6 , org . IDENT_0 . IDENT_1 . serializer . IDENT_7 ) ) . METHOD_3 ( new java . lang . Exception ( ) ) ; when ( IDENT_4 . METHOD_2 ( java . lang . String . class , java . lang . String . class , IDENT_6 , org . IDENT_0 . IDENT_1 . serializer . IDENT_7 ) ) . thenReturn ( STRING_0 ) ; METHOD_4 ( org . IDENT_0 . common . io . IDENT_8 . class ) ; when ( org . IDENT_0 . common . io . IDENT_8 . toByteArray ( IDENT_9 , true ) ) . thenReturn ( org . IDENT_0 . IDENT_1 . serializer . IDENT_10 ) ; java . lang . String actual = IDENT_11 . METHOD_2 ( IDENT_12 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_6 ) . METHOD_5 ( 0 ) ; verify ( IDENT_6 ) . METHOD_6 ( ) ; } METHOD_2 ( org . IDENT_0 . IDENT_1 . io . Response ) { java . lang . Class < T > type = ( ( java . lang . Class < T > ) ( response . METHOD_7 ( ) ) ) ; METHOD_8 ( IDENT_13 . contains ( type ) , org . IDENT_0 . IDENT_1 . serializer . IDENT_14 . IDENT_15 , type ) ; org . IDENT_0 . IDENT_1 . serializer . IDENT_14 . LOG . debug ( STRING_1 , type ) ; return IDENT_13 . get ( type ) . < T > METHOD_2 ( type , response . METHOD_9 ( ) , response . METHOD_10 ( ) , response . METHOD_11 ( ) ) ; }
org . junit . Assert . assertEquals ( STRING_0 , actual )