METHOD_0 ( ) { final org . openqa . grid . internal . IDENT_0 registry = org . openqa . grid . internal . IDENT_1 . newInstance ( new org . openqa . grid . web . METHOD_1 ( new org . openqa . grid . internal . utils . configuration . METHOD_2 ( ) ) ) ; org . openqa . grid . internal . IDENT_2 IDENT_3 = new org . openqa . grid . internal . METHOD_3 ( req , registry ) ; try { registry . add ( IDENT_3 ) ; org . openqa . grid . internal . IDENT_4 IDENT_5 = new org . openqa . grid . internal . METHOD_4 ( ) ; for ( int i = 0 ; i < 5 ; i ++ ) { IDENT_5 . start ( ( ) -> { org . openqa . grid . web . servlet . handler . IDENT_6 IDENT_7 = org . openqa . grid . internal . mock . IDENT_8 . METHOD_5 ( registry , IDENT_9 ) ; IDENT_7 . process ( ) ; } ) ; } IDENT_5 . METHOD_6 ( 5 ) ; IDENT_5 . start ( ( ) -> { org . openqa . grid . web . servlet . handler . IDENT_6 IDENT_7 = org . openqa . grid . internal . mock . IDENT_8 . METHOD_5 ( registry , IDENT_10 ) ; IDENT_7 . process ( ) ; IDENT_11 = true ; } ) ; IDENT_5 . METHOD_7 ( 6 ) ; "<AssertPlaceHolder>" ; } finally { registry . METHOD_8 ( ) ; } } METHOD_7 ( int ) { int i = 0 ; while ( ( IDENT_12 != ( IDENT_13 . get ( ) ) ) && ( ( i ++ ) < 20 ) ) { if ( i > 20 ) throw new java . lang . RuntimeException ( STRING_0 ) ; try { java . lang . Thread . sleep ( 50 ) ; } catch ( java . lang . IDENT_14 e ) { throw new java . lang . RuntimeException ( e ) ; } } }
org . junit . Assert . assertFalse ( IDENT_11 )