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