METHOD_0 ( ) { final org . openqa . grid . internal . IDENT_0 registry = org . openqa . grid . internal . IDENT_0 . newInstance ( ) ; final java . util . concurrent . IDENT_1 IDENT_2 = new java . util . concurrent . METHOD_1 ( org . openqa . grid . internal . IDENT_3 . IDENT_4 ) ; try { for ( int i = 0 ; i < ( org . openqa . grid . internal . IDENT_3 . IDENT_4 ) ; i ++ ) { new java . lang . Thread ( new java . lang . METHOD_2 ( ) { public void run ( ) { registry . add ( new org . openqa . grid . internal . METHOD_3 ( org . openqa . grid . internal . IDENT_3 . req , registry ) ) ; IDENT_2 . METHOD_4 ( ) ; } } ) . start ( ) ; } IDENT_2 . METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } finally { registry . METHOD_6 ( ) ; } } METHOD_7 ( ) { return IDENT_5 ; }
org . junit . Assert . assertEquals ( registry . METHOD_7 ( ) . size ( ) , 1 )