METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( IDENT_1 ) ; com . IDENT_2 . IDENT_3 . internal . jdbc . IDENT_4 connection = new com . IDENT_2 . IDENT_3 . internal . jdbc . METHOD_2 ( STRING_0 , null , null , IDENT_0 , IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_0 ) . METHOD_1 ( ) ; } METHOD_3 ( ) { org . jboss . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . impl . IDENT_10 connection = org . jboss . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_11 . IDENT_12 . get ( ) ; if ( connection == null ) { connection = new org . jboss . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . impl . METHOD_4 ( this , properties ) ; org . jboss . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_11 . IDENT_12 . set ( connection ) ; org . jboss . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_11 . log . debug ( ( STRING_1 + connection ) ) ; } return connection ; }
org . junit . Assert . assertEquals ( IDENT_1 , connection . METHOD_3 ( ) )