METHOD_0 ( ) { final com . IDENT_0 . IDENT_1 . strategy . IDENT_2 IDENT_3 = org . mockito . Mockito . mock ( com . IDENT_0 . IDENT_1 . strategy . IDENT_2 . class ) ; this . IDENT_4 = new com . IDENT_0 . IDENT_1 . IDENT_5 < javax . sql . IDENT_6 > ( configuration , new com . IDENT_0 . IDENT_1 . strategy . METHOD_1 ( ) { @ com . IDENT_0 . IDENT_1 . Override public com . IDENT_0 . IDENT_1 . strategy . IDENT_2 newInstance ( com . IDENT_0 . IDENT_1 . common . IDENT_7 IDENT_8 ) { return IDENT_9 ; } } , new com . IDENT_0 . IDENT_1 . strategy . METHOD_1 ( ) { @ com . IDENT_0 . IDENT_1 . Override public com . IDENT_0 . IDENT_1 . strategy . IDENT_2 newInstance ( com . IDENT_0 . IDENT_1 . common . IDENT_7 IDENT_8 ) { return IDENT_3 ; } } ) ; when ( IDENT_9 . METHOD_2 ( any ( com . IDENT_0 . IDENT_1 . connection . IDENT_10 . class ) ) ) . METHOD_3 ( new com . IDENT_0 . IDENT_1 . exception . METHOD_4 ( new java . sql . METHOD_5 ( ) ) ) ; org . mockito . IDENT_11 < com . IDENT_0 . IDENT_1 . connection . IDENT_10 > IDENT_12 = org . mockito . IDENT_11 . METHOD_6 ( com . IDENT_0 . IDENT_1 . connection . IDENT_10 . class ) ; when ( IDENT_3 . METHOD_2 ( IDENT_12 . METHOD_7 ( ) ) ) . thenReturn ( connection ) ; verify ( connection , METHOD_8 ( ) ) . METHOD_9 ( ) ; IDENT_4 . METHOD_2 ( ) . METHOD_9 ( ) ; verify ( connection , times ( 1 ) ) . METHOD_9 ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_13 , times ( 1 ) ) . update ( METHOD_10 ( ) , eq ( TimeUnit . IDENT_14 ) ) ; verify ( IDENT_15 , times ( 1 ) ) . update ( 1 ) ; verify ( IDENT_15 , times ( 1 ) ) . update ( 0 ) ; } METHOD_11 ( ) { return IDENT_16 ; }
org . junit . Assert . assertNull ( IDENT_12 . getValue ( ) . METHOD_11 ( ) )