METHOD_0 ( ) { org . apache . IDENT_0 . core . IDENT_1 . METHOD_1 ( ) ; org . apache . IDENT_0 . IDENT_2 . IDENT_3 tomcat = METHOD_2 ( ) ; org . apache . IDENT_0 . Context ctx = tomcat . METHOD_3 ( "" , null ) ; org . apache . IDENT_0 . core . IDENT_1 . IDENT_4 servlet = new org . apache . IDENT_0 . core . IDENT_1 . METHOD_4 ( ) ; org . apache . IDENT_0 . IDENT_5 IDENT_6 = org . apache . IDENT_0 . IDENT_2 . IDENT_3 . METHOD_5 ( ctx , STRING_0 , servlet ) ; IDENT_6 . METHOD_6 ( true ) ; ctx . METHOD_7 ( "/" , STRING_0 ) ; org . apache . IDENT_0 . IDENT_7 . IDENT_8 IDENT_9 = new org . apache . IDENT_0 . IDENT_7 . METHOD_8 ( ) ; ctx . METHOD_9 ( ) . METHOD_10 ( IDENT_9 ) ; tomcat . start ( ) ; METHOD_11 ( ( ( STRING_1 + ( METHOD_12 ( ) ) ) + "/" ) ) ; java . lang . String IDENT_10 = STRING_2 ; int count = 0 ; while ( ( ! ( IDENT_10 . equals ( org . apache . IDENT_0 . core . IDENT_1 . METHOD_13 ( ) ) ) ) && ( count < 100 ) ) { java . lang . Thread . sleep ( 50 ) ; count ++ ; } "<AssertPlaceHolder>" ; IDENT_9 . METHOD_14 ( 1 , 200 , org . apache . IDENT_0 . core . IDENT_1 . METHOD_4 . IDENT_11 , ( ( org . apache . IDENT_0 . core . IDENT_1 . METHOD_4 . IDENT_11 ) + ( org . apache . IDENT_0 . core . IDENT_1 . IDENT_12 ) ) ) ; } METHOD_13 ( ) { return org . apache . IDENT_0 . core . IDENT_1 . IDENT_13 . toString ( ) ; }
org . junit . Assert . assertEquals ( IDENT_10 , org . apache . IDENT_0 . core . IDENT_1 . METHOD_13 ( ) )