METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . Object > IDENT_0 = new java . util . HashMap ( ) ; IDENT_0 . put ( IDENT_1 . IDENT_2 , STRING_0 ) ; org . openqa . grid . internal . utils . configuration . IDENT_3 config = new org . openqa . grid . internal . utils . configuration . METHOD_1 ( ) ; config . IDENT_4 . METHOD_2 ( ) ; config . proxy = null ; config . IDENT_4 . add ( new org . openqa . selenium . remote . METHOD_3 ( IDENT_0 ) ) ; org . openqa . grid . internal . IDENT_5 p = org . openqa . grid . internal . IDENT_6 . METHOD_4 ( new org . openqa . grid . common . METHOD_5 ( config ) , registry ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . openqa . grid . common . METHOD_5 , org . openqa . grid . internal . IDENT_7 ) { try { java . lang . String IDENT_8 = request . METHOD_6 ( ) . proxy ; if ( IDENT_8 == null ) { org . openqa . grid . internal . IDENT_6 . log . METHOD_7 ( STRING_1 ) ; IDENT_8 = org . openqa . grid . internal . IDENT_6 . class . METHOD_8 ( ) ; } java . lang . Class < ? > clazz = java . lang . Class . METHOD_9 ( IDENT_8 ) ; org . openqa . grid . internal . IDENT_6 . log . METHOD_7 ( ( STRING_2 + ( clazz . getName ( ) ) ) ) ; java . lang . Object [ ] args = new java . lang . Object [ ] { request , registry } ; java . lang . Class < ? > [ ] IDENT_9 = new java . lang . Class [ ] { org . openqa . grid . common . METHOD_5 . class , org . openqa . grid . internal . IDENT_7 . class } ; java . lang . reflect . IDENT_10 < ? > c = clazz . METHOD_10 ( IDENT_9 ) ; java . lang . Object proxy = c . newInstance ( args ) ; if ( proxy instanceof org . openqa . grid . internal . IDENT_5 ) { ( ( org . openqa . grid . internal . IDENT_5 ) ( proxy ) ) . METHOD_11 ( ) ; return ( ( T ) ( proxy ) ) ; } throw new java . security . METHOD_12 ( ( ( STRING_3 + ( proxy . getClass ( ) ) ) + STRING_4 ) ) ; } catch ( java . lang . reflect . IDENT_11 e ) { throw new java . security . METHOD_12 ( ( STRING_3 + ( e . METHOD_13 ( ) . getMessage ( ) ) ) ) ; } catch ( java . lang . Exception e ) { throw new java . security . METHOD_12 ( ( STRING_3 + ( e . getMessage ( ) ) ) ) ; } }
org . junit . Assert . assertEquals ( org . openqa . grid . internal . IDENT_6 . class , p . getClass ( ) )