METHOD_0 ( ) { final org . openqa . selenium . server . IDENT_0 configuration ; org . openqa . selenium . server . IDENT_1 . IDENT_2 IDENT_3 = mock ( org . openqa . selenium . server . IDENT_1 . IDENT_2 . class ) ; org . openqa . selenium . server . IDENT_1 . IDENT_4 IDENT_5 = mock ( org . openqa . selenium . server . IDENT_1 . IDENT_4 . class ) ; configuration = new org . openqa . selenium . server . METHOD_1 ( ) ; configuration . METHOD_2 ( 1 ) ; org . openqa . selenium . IDENT_6 IDENT_7 = org . openqa . selenium . server . IDENT_1 . IDENT_8 . METHOD_3 ( ) ; org . openqa . selenium . server . IDENT_9 factory = new org . openqa . selenium . server . METHOD_4 ( IDENT_3 ) { @ org . openqa . selenium . server . Override MOD_0 org . openqa . selenium . server . IDENT_10 METHOD_5 ( java . lang . String IDENT_11 , int port , org . openqa . selenium . server . METHOD_1 configuration ) { return mock ( org . openqa . selenium . server . IDENT_10 . class ) ; } @ org . openqa . selenium . server . Override MOD_0 org . openqa . selenium . server . IDENT_10 METHOD_6 ( java . lang . String IDENT_11 ) { return mock ( org . openqa . selenium . server . IDENT_10 . class ) ; } } ; when ( IDENT_3 . METHOD_7 ( METHOD_8 ( java . lang . String . class ) , METHOD_8 ( java . lang . String . class ) , METHOD_8 ( org . openqa . selenium . server . METHOD_1 . class ) , METHOD_8 ( org . openqa . selenium . IDENT_6 . class ) ) ) . thenReturn ( IDENT_5 ) ; factory . METHOD_9 ( "" , "" , "" , IDENT_7 , true , configuration ) ; java . lang . String expected = ( ( org . openqa . selenium . server . METHOD_4 . IDENT_12 ) ( factory . IDENT_13 . toArray ( ) [ 0 ] ) ) . IDENT_11 ; "<AssertPlaceHolder>" ; verify ( IDENT_5 , times ( 1 ) ) . METHOD_10 ( "" ) ; } METHOD_11 ( ) { return org . openqa . selenium . server . IDENT_14 . IDENT_15 ; }
org . junit . Assert . assertEquals ( expected , org . openqa . selenium . server . IDENT_14 . METHOD_11 ( ) )