METHOD_0 ( ) { org . IDENT_0 . IDENT_1 log = mock ( org . IDENT_0 . IDENT_1 . class ) ; org . apache . IDENT_2 . di . IDENT_3 i = org . apache . IDENT_2 . di . IDENT_4 . METHOD_1 ( new org . apache . IDENT_2 . IDENT_5 . IDENT_6 . configuration . METHOD_2 ( log ) ) ; org . apache . IDENT_2 . configuration . server . IDENT_7 factory = i . getInstance ( org . apache . IDENT_2 . configuration . server . IDENT_7 . class ) ; org . apache . IDENT_2 . configuration . IDENT_8 IDENT_9 = mock ( org . apache . IDENT_2 . configuration . IDENT_8 . class ) ; javax . sql . IDENT_10 IDENT_11 = mock ( javax . sql . IDENT_10 . class ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . apache . IDENT_2 . configuration . IDENT_8 , javax . sql . IDENT_10 ) { java . lang . String IDENT_12 = null ; if ( IDENT_9 != null ) { IDENT_12 = IDENT_9 . METHOD_4 ( ) ; } if ( ( IDENT_12 != null ) && ( IDENT_12 . equals ( org . apache . IDENT_2 . IDENT_13 . IDENT_14 . class . getName ( ) ) ) ) { IDENT_12 = null ; } if ( IDENT_12 != null ) { org . apache . IDENT_2 . IDENT_13 . IDENT_15 IDENT_16 = IDENT_17 . newInstance ( org . apache . IDENT_2 . IDENT_13 . IDENT_15 . class , IDENT_12 ) ; return METHOD_5 ( IDENT_16 ) ; } else { return new org . apache . IDENT_2 . IDENT_13 . METHOD_6 ( ( ) -> METHOD_7 ( IDENT_11 ) , IDENT_18 ) ; } }
org . junit . Assert . assertTrue ( ( ( factory . METHOD_3 ( IDENT_9 , IDENT_11 ) ) instanceof org . apache . IDENT_2 . IDENT_13 . METHOD_6 ) )