METHOD_0 ( ) { java . sql . IDENT_0 statement = METHOD_1 ( ) ; when ( statement . METHOD_2 ( org . apache . shardingsphere . IDENT_1 . executor . IDENT_2 . IDENT_3 , new java . lang . String [ ] { STRING_0 } ) ) . thenReturn ( 10 ) ; METHOD_3 ( java . util . Collections . singletonList ( statement ) , IDENT_4 . IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( statement ) . METHOD_2 ( org . apache . shardingsphere . IDENT_1 . executor . IDENT_2 . IDENT_3 , new java . lang . String [ ] { STRING_0 } ) ; } METHOD_2 ( org . apache . shardingsphere . IDENT_1 . executor . IDENT_6 ) { final boolean IDENT_7 = org . apache . shardingsphere . core . execute . sql . execute . IDENT_8 . IDENT_9 . METHOD_4 ( ) ; org . apache . shardingsphere . core . execute . sql . execute . IDENT_10 < java . lang . Integer > IDENT_11 = new org . apache . shardingsphere . core . execute . sql . execute . IDENT_10 < java . lang . Integer > ( METHOD_5 ( ) , METHOD_4 ) { @ org . apache . shardingsphere . IDENT_1 . executor . Override MOD_0 org . apache . shardingsphere . IDENT_1 . executor . Integer METHOD_6 ( final org . apache . shardingsphere . core . route . IDENT_12 IDENT_13 , final java . sql . IDENT_0 statement , final org . apache . shardingsphere . core . IDENT_14 . IDENT_15 IDENT_16 ) throws java . sql . IDENT_17 { return IDENT_18 . METHOD_2 ( statement , IDENT_13 . METHOD_7 ( ) . METHOD_8 ( ) ) ; } } ; java . util . List < java . lang . Integer > results = METHOD_9 ( METHOD_9 ) ; if ( METHOD_10 ( ) ) { return METHOD_11 ( results ) ; } else { return null == ( results . get ( 0 ) ) ? 0 : results . get ( 0 ) ; } }
org . junit . Assert . assertThat ( actual . METHOD_2 ( new java . lang . String [ ] { STRING_0 } ) , org . hamcrest . CoreMatchers . is ( 10 ) )