METHOD_0 ( ) { org . mockito . IDENT_0 < io . grpc . internal . IDENT_1 > IDENT_2 = org . mockito . IDENT_0 . METHOD_1 ( io . grpc . internal . IDENT_1 . class ) ; final java . util . concurrent . atomic . IDENT_3 < io . grpc . internal . IDENT_1 > IDENT_4 = new java . util . concurrent . atomic . METHOD_2 ( ) ; final io . grpc . Status IDENT_5 = Status . IDENT_6 . METHOD_3 ( STRING_0 ) ; io . grpc . internal . IDENT_7 IDENT_8 = mock ( io . grpc . internal . IDENT_7 . class , METHOD_4 ( new io . grpc . internal . METHOD_5 ( ) { @ io . grpc . internal . Override public void request ( int IDENT_9 ) { IDENT_10 . METHOD_6 ( ( STRING_1 + IDENT_9 ) ) ; if ( IDENT_9 > 1 ) { IDENT_10 . request ( ( OP_0 IDENT_9 ) ) ; } } } ) ) ; final io . grpc . internal . IDENT_7 IDENT_11 = mock ( io . grpc . internal . IDENT_7 . class , METHOD_4 ( new io . grpc . internal . METHOD_5 ( ) { @ io . grpc . internal . Override public void start ( io . grpc . internal . IDENT_1 listener ) { IDENT_4 . set ( listener ) ; } @ io . grpc . internal . Override public void request ( int IDENT_9 ) { IDENT_10 . METHOD_6 ( ( STRING_2 + IDENT_9 ) ) ; if ( IDENT_9 == 3 ) { IDENT_4 . get ( ) . METHOD_7 ( new io . grpc . METHOD_8 ( ) ) ; } if ( IDENT_9 == 2 ) { IDENT_10 . request ( 100 ) ; } if ( IDENT_9 == 100 ) { IDENT_10 . METHOD_9 ( IDENT_5 ) ; } } } ) ) ; org . mockito . IDENT_12 IDENT_13 = METHOD_10 ( IDENT_14 , IDENT_8 , IDENT_11 ) ; doReturn ( IDENT_8 ) . when ( IDENT_14 ) . METHOD_11 ( 0 ) ; IDENT_10 . start ( IDENT_15 ) ; METHOD_10 . verify ( IDENT_8 ) . start ( IDENT_2 . METHOD_12 ( ) ) ; IDENT_10 . request ( 3 ) ; METHOD_10 . verify ( IDENT_8 ) . request ( 3 ) ; METHOD_10 . verify ( IDENT_8 ) . METHOD_13 ( any ( java . io . InputStream . class ) ) ; METHOD_10 . verify ( IDENT_8 ) . request ( 2 ) ; METHOD_10 . verify ( IDENT_8 ) . METHOD_13 ( any ( java . io . InputStream . class ) ) ; METHOD_10 . verify ( IDENT_8 ) . request ( 1 ) ; METHOD_10 . verify ( IDENT_8 ) . METHOD_13 ( any ( java . io . InputStream . class ) ) ; doReturn ( IDENT_11 ) . when ( IDENT_14 ) . METHOD_11 ( 1 ) ; IDENT_2 . getValue ( ) . METHOD_14 ( io . grpc . Status . METHOD_15 ( io . grpc . internal . IDENT_16 . IDENT_17 ) , new io . grpc . METHOD_8 ( ) ) ; "<AssertPlaceHolder>" ; IDENT_10 . request ( INT_0 ) ; IDENT_18 . METHOD_16 ( ( ( long ) ( ( io . grpc . internal . IDENT_16 . IDENT_19 ) * ( io . grpc . internal . IDENT_16 . IDENT_20 ) ) ) , TimeUnit . IDENT_21 ) ; METHOD_10 . verify ( IDENT_11 ) . start ( IDENT_4 . get ( ) ) ; METHOD_10 . verify ( IDENT_11 ) . request ( 3 ) ; METHOD_10 . verify ( IDENT_14 ) . METHOD_17 ( ) ; METHOD_10 . verify ( IDENT_11 ) . METHOD_13 ( any ( java . io . InputStream . class ) ) ; METHOD_10 . verify ( IDENT_11 ) . request ( 2 ) ; METHOD_10 . verify ( IDENT_11 ) . METHOD_13 ( any ( java . io . InputStream . class ) ) ; METHOD_10 . verify ( IDENT_11 ) . request ( 1 ) ; METHOD_10 . verify ( IDENT_11 ) . METHOD_13 ( any ( java . io . InputStream . class ) ) ; METHOD_10 . verify ( IDENT_11 ) . request ( INT_0 ) ; METHOD_10 . verify ( IDENT_11 , times ( 2 ) ) . METHOD_13 ( any ( java . io . InputStream . class ) ) ; METHOD_10 . verify ( IDENT_11 ) . request ( 100 ) ; verify ( IDENT_11 ) . METHOD_9 ( IDENT_5 ) ; METHOD_10 . verify ( IDENT_11 , METHOD_18 ( ) ) . METHOD_13 ( any ( java . io . InputStream . class ) ) ; } METHOD_19 ( ) { return ( IDENT_22 . size ( ) ) + ( IDENT_23 . size ( ) ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_18 . METHOD_19 ( ) )