METHOD_0 ( ) { METHOD_1 ( ) ; org . apache . avro . IDENT_0 . IDENT_1 server = METHOD_2 ( new org . apache . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_3 ( ) ) ; server . start ( ) ; IDENT_3 . start ( ) ; org . apache . IDENT_2 . IDENT_5 channel = org . mockito . Mockito . mock ( org . apache . IDENT_2 . IDENT_5 . class ) ; org . mockito . Mockito . when ( channel . METHOD_4 ( ) ) . METHOD_5 ( new org . apache . IDENT_2 . METHOD_6 ( STRING_0 ) ) ; org . apache . IDENT_2 . IDENT_6 transaction = org . mockito . Mockito . mock ( org . apache . IDENT_2 . channel . IDENT_7 . class ) ; org . mockito . Mockito . when ( channel . METHOD_7 ( ) ) . thenReturn ( transaction ) ; IDENT_3 . METHOD_8 ( channel ) ; org . apache . IDENT_2 . IDENT_8 . Status status = IDENT_3 . process ( ) ; IDENT_3 . METHOD_9 ( ) ; server . close ( ) ; org . apache . IDENT_2 . IDENT_9 . IDENT_10 IDENT_11 = ( ( org . apache . IDENT_2 . IDENT_9 . IDENT_10 ) ( org . mockito . internal . util . IDENT_12 . IDENT_13 . METHOD_10 ( IDENT_3 , STRING_1 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_11 ( ) { return get ( org . apache . IDENT_2 . IDENT_9 . IDENT_10 . IDENT_14 ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_11 . METHOD_11 ( ) )