METHOD_0 ( ) { final java . lang . String host = STRING_0 ; final int port = INT_0 ; java . lang . Exception exception = null ; try { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 < com . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . IDENT_6 > IDENT_7 = com . IDENT_0 . IDENT_1 . IDENT_8 . METHOD_1 ( ) . METHOD_2 ( IDENT_9 . METHOD_3 ( ) ) . METHOD_4 ( "test" ) . METHOD_5 ( STRING_1 ) . METHOD_6 ( new com . IDENT_0 . IDENT_1 . model . IDENT_10 < com . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . IDENT_6 > ( ) { @ com . IDENT_0 . IDENT_1 . IDENT_2 . Override public byte [ ] serialize ( com . IDENT_0 . IDENT_1 . model . IDENT_11 < com . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . IDENT_6 > data ) { try { return IDENT_12 . METHOD_7 ( data ) ; } catch ( com . fasterxml . jackson . core . IDENT_13 e ) { e . printStackTrace ( ) ; } return null ; } } ) . METHOD_8 ( host ) . METHOD_9 ( port ) . METHOD_10 ( ) ; } catch ( java . lang . Exception e ) { exception = e ; } "<AssertPlaceHolder>" ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 < com . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . IDENT_6 > IDENT_7 = com . IDENT_0 . IDENT_1 . IDENT_8 . METHOD_1 ( ) . METHOD_2 ( IDENT_9 . METHOD_3 ( ) ) . METHOD_4 ( "test" ) . METHOD_5 ( STRING_1 ) . METHOD_6 ( new com . IDENT_0 . IDENT_1 . model . IDENT_10 < com . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . IDENT_6 > ( ) { @ com . IDENT_0 . IDENT_1 . IDENT_2 . Override public byte [ ] serialize ( com . IDENT_0 . IDENT_1 . model . IDENT_11 < com . IDENT_0 . IDENT_1 . IDENT_4 . IDENT_5 . IDENT_6 > data ) { try { return IDENT_12 . METHOD_7 ( data ) ; } catch ( com . fasterxml . jackson . core . IDENT_13 e ) { e . printStackTrace ( ) ; } return null ; } } ) . METHOD_8 ( host ) . METHOD_11 ( com . IDENT_0 . IDENT_1 . IDENT_14 . IDENT_15 . METHOD_12 ( ) ) . METHOD_9 ( port ) . METHOD_10 ( ) ; } METHOD_10 ( ) { com . google . common . base . IDENT_16 . METHOD_13 ( IDENT_17 ) ; com . google . common . base . IDENT_16 . METHOD_13 ( IDENT_18 ) ; com . google . common . base . IDENT_16 . METHOD_13 ( serializer ) ; com . google . common . base . IDENT_16 . METHOD_13 ( IDENT_19 ) ; com . google . common . base . IDENT_16 . METHOD_14 ( ( ( port ) > 0 ) ) ; com . google . common . base . IDENT_16 . METHOD_14 ( ( ( ! ( IDENT_20 . isEmpty ( ) ) ) || ( ! ( IDENT_21 . isEmpty ( ) ) ) ) ) ; if ( null == ( IDENT_22 ) ) { com . google . common . base . IDENT_16 . METHOD_13 ( IDENT_23 ) ; IDENT_22 = org . apache . IDENT_24 . framework . IDENT_25 . builder ( ) . METHOD_15 ( METHOD_15 ) . METHOD_16 ( IDENT_23 ) . METHOD_17 ( new org . apache . IDENT_24 . IDENT_26 . METHOD_18 ( 1000 , 100 ) ) . build ( ) ; IDENT_22 . start ( ) ; } if ( 0 == ( IDENT_27 ) ) { IDENT_27 = 1000 ; } final com . IDENT_0 . IDENT_1 . IDENT_28 . IDENT_29 IDENT_30 = new com . IDENT_0 . IDENT_1 . IDENT_28 . METHOD_19 ( ) ; for ( com . IDENT_0 . IDENT_1 . IDENT_28 . monitor . IDENT_31 IDENT_32 : IDENT_21 ) { IDENT_30 . METHOD_20 ( IDENT_32 ) ; } IDENT_20 . add ( IDENT_30 ) ; return new com . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_21 ( IDENT_18 , serializer , IDENT_22 , new com . IDENT_0 . IDENT_1 . model . METHOD_22 ( IDENT_19 , port , IDENT_33 ) , IDENT_20 , IDENT_27 , IDENT_30 ) ; }
org . junit . Assert . assertTrue ( ( exception instanceof java . lang . IllegalArgumentException ) )