METHOD_0 ( ) { int port = METHOD_1 ( ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 server = METHOD_2 ( port , ( ( STRING_0 + port ) + STRING_1 ) ) ; io . netty . channel . IDENT_4 channel = mock ( io . netty . channel . IDENT_4 . class ) ; java . util . concurrent . atomic . IDENT_5 < java . lang . String > actual = new java . util . concurrent . atomic . METHOD_3 ( ) ; METHOD_4 ( new org . mockito . IDENT_6 . METHOD_5 ( ) { @ com . IDENT_0 . IDENT_1 . redis . proxy . handler . Override public java . lang . Object METHOD_6 ( org . mockito . IDENT_7 . IDENT_8 IDENT_7 ) throws java . lang . Throwable { actual . set ( new com . IDENT_0 . IDENT_1 . redis . core . IDENT_9 . IDENT_9 . METHOD_7 ( ) . read ( IDENT_7 . METHOD_8 ( 0 , io . netty . buffer . IDENT_10 . class ) ) . METHOD_9 ( ) ) ; return null ; } } ) . when ( channel ) . METHOD_10 ( any ( io . netty . buffer . IDENT_10 . class ) ) ; com . IDENT_0 . IDENT_1 . api . IDENT_11 . IDENT_12 key = new com . IDENT_0 . IDENT_1 . redis . core . proxy . IDENT_11 . METHOD_11 ( ( STRING_2 + ( server . METHOD_12 ( ) ) ) ) ; com . IDENT_0 . IDENT_1 . api . pool . IDENT_13 < com . IDENT_0 . IDENT_1 . netty . commands . IDENT_14 > pool = manager . METHOD_13 ( ) . METHOD_14 ( key ) ; com . IDENT_0 . IDENT_1 . netty . commands . IDENT_14 client = pool . METHOD_15 ( ) ; pool . METHOD_16 ( client ) ; handler . METHOD_17 ( channel , new java . lang . String [ ] { STRING_3 , STRING_2 + ( server . METHOD_12 ( ) ) } ) ; java . lang . String expected = java . lang . String . format ( STRING_4 , server . METHOD_12 ( ) , server . METHOD_12 ( ) ) ; METHOD_18 ( ( ) -> ( actual . get ( ) ) != null , 1000 ) ; logger . info ( STRING_5 , actual . get ( ) ) ; "<AssertPlaceHolder>" ; server . METHOD_19 ( ) ; } get ( ) { METHOD_20 ( ) ; java . lang . Throwable IDENT_15 = METHOD_21 ( ) ; if ( METHOD_21 == null ) { return METHOD_22 ( ) ; } if ( METHOD_21 instanceof com . IDENT_0 . IDENT_1 . command . IDENT_16 ) { throw ( ( com . IDENT_0 . IDENT_1 . command . IDENT_16 ) ( METHOD_21 ) ) ; } throw new com . IDENT_0 . IDENT_1 . command . METHOD_23 ( METHOD_21 ) ; }
org . junit . Assert . assertTrue ( actual . get ( ) . startsWith ( expected ) )