METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 . IDENT_2 tomcat = METHOD_1 ( ) ; java . io . File IDENT_3 = new java . io . File ( java . lang . System . getProperty ( STRING_0 ) ) ; org . apache . IDENT_0 . Context ctx = tomcat . METHOD_2 ( "" , IDENT_3 . getAbsolutePath ( ) ) ; org . apache . IDENT_0 . core . IDENT_4 . IDENT_5 IDENT_6 = new org . apache . IDENT_0 . core . IDENT_4 . METHOD_3 ( javax . servlet . http . IDENT_7 . IDENT_8 ) ; org . apache . IDENT_0 . IDENT_9 IDENT_10 = org . apache . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_4 ( ctx , STRING_1 , IDENT_6 ) ; IDENT_10 . METHOD_5 ( true ) ; ctx . METHOD_6 ( STRING_2 , STRING_1 ) ; org . apache . IDENT_0 . IDENT_11 . IDENT_12 IDENT_13 = new org . apache . IDENT_0 . IDENT_11 . METHOD_7 ( ) ; ctx . METHOD_8 ( ) . METHOD_9 ( IDENT_13 ) ; tomcat . start ( ) ; java . lang . StringBuilder url = new java . lang . StringBuilder ( INT_0 ) ; url . append ( STRING_3 ) ; url . append ( METHOD_10 ( ) ) ; url . append ( STRING_2 ) ; int IDENT_14 = METHOD_11 ( url . toString ( ) , new org . apache . tomcat . util . buf . METHOD_12 ( ) , null ) ; "<AssertPlaceHolder>" ; java . lang . Thread . sleep ( org . apache . IDENT_0 . core . IDENT_4 . IDENT_15 ) ; IDENT_13 . METHOD_13 ( 1 , IDENT_7 . IDENT_8 , 0 , org . apache . IDENT_0 . core . IDENT_4 . IDENT_15 ) ; } toString ( ) { java . lang . StringBuffer buf = new java . lang . StringBuffer ( org . apache . tomcat . jdbc . pool . interceptor . IDENT_16 . IDENT_17 . class . getName ( ) ) ; buf . append ( STRING_4 ) ; buf . append ( java . lang . System . METHOD_14 ( this ) ) ; buf . append ( STRING_5 ) ; buf . append ( METHOD_15 ( ) ) ; buf . append ( STRING_6 ) ; buf . append ( METHOD_16 ( ) ) ; buf . append ( STRING_7 ) ; buf . append ( METHOD_17 ( ) ) ; buf . append ( "]" ) ; return buf . toString ( ) ; }
org . junit . Assert . assertEquals ( IDENT_7 . IDENT_8 , IDENT_14 )