METHOD_0 ( ) { org . glassfish . IDENT_0 . http . server . IDENT_1 IDENT_2 = org . glassfish . IDENT_0 . http . server . IDENT_1 . METHOD_1 ( STRING_0 , org . glassfish . IDENT_0 . IDENT_3 . IDENT_4 . IDENT_5 ) ; IDENT_2 . METHOD_2 ( ) . METHOD_3 ( STRING_1 ) ; IDENT_2 . METHOD_2 ( ) . setName ( STRING_1 ) ; for ( org . glassfish . IDENT_0 . http . server . IDENT_6 IDENT_7 : IDENT_2 . METHOD_4 ( ) ) { IDENT_7 . METHOD_5 ( new org . glassfish . IDENT_0 . IDENT_3 . METHOD_6 ( ) ) ; IDENT_7 . METHOD_7 ( ) . METHOD_8 ( 5 ) ; } org . glassfish . IDENT_0 . IDENT_3 . IDENT_8 . METHOD_9 ( ) . METHOD_10 ( "" , STRING_2 , new org . glassfish . IDENT_0 . IDENT_3 . METHOD_11 ( ) ) ; final org . glassfish . IDENT_0 . IDENT_3 . IDENT_9 app = new org . glassfish . IDENT_0 . IDENT_3 . METHOD_12 ( ) ; org . glassfish . IDENT_0 . IDENT_3 . IDENT_10 IDENT_11 = null ; try { IDENT_2 . start ( ) ; org . glassfish . IDENT_0 . IDENT_3 . IDENT_8 . METHOD_9 ( ) . METHOD_10 ( app ) ; IDENT_11 = new org . glassfish . IDENT_0 . IDENT_3 . METHOD_13 ( ( ( STRING_3 + ( org . glassfish . IDENT_0 . IDENT_3 . IDENT_4 . IDENT_5 ) ) + STRING_2 ) ) ; IDENT_11 . connect ( ) ; java . lang . Thread . sleep ( INT_0 ) ; "<AssertPlaceHolder>" ; } finally { if ( IDENT_11 != null ) { IDENT_11 . close ( ) ; } IDENT_2 . METHOD_14 ( ) ; } } METHOD_15 ( ) { return IDENT_12 . contains ( state . get ( ) ) ; }
org . junit . Assert . assertTrue ( IDENT_11 . METHOD_15 ( ) )