METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( METHOD_2 ( IDENT_1 ) ) ) . thenReturn ( connection ) ; when ( IDENT_0 . METHOD_3 ( ) ) . thenReturn ( 1 ) ; com . IDENT_2 . IDENT_3 . strategy . IDENT_4 IDENT_5 = new com . IDENT_2 . IDENT_3 . strategy . IDENT_4 . IDENT_6 < javax . sql . IDENT_7 > ( 5 ) . newInstance ( configuration ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 , METHOD_4 ( ) ) . METHOD_5 ( METHOD_6 ( ) ) ; verify ( IDENT_8 , times ( 1 ) ) . update ( 1 ) ; verify ( IDENT_9 , METHOD_4 ( ) ) . update ( METHOD_7 ( ) ) ; } METHOD_1 ( int ) { com . IDENT_2 . IDENT_3 . IDENT_10 . LOGGER . info ( STRING_0 , index ) ; java . sql . IDENT_11 connection = IDENT_12 . METHOD_1 ( ) ; org . junit . Assert . assertNotNull ( connection ) ; com . IDENT_2 . IDENT_3 . IDENT_10 . LOGGER . info ( STRING_1 , connection ) ; return connection ; }
org . junit . Assert . assertSame ( connection , IDENT_5 . METHOD_1 ( IDENT_1 ) )