METHOD_0 ( ) { java . lang . reflect . Field f = org . openqa . selenium . support . IDENT_0 . IDENT_1 . IDENT_2 . class . METHOD_1 ( STRING_0 ) ; final org . openqa . selenium . IDENT_3 driver = mock ( org . openqa . selenium . IDENT_3 . class ) ; final org . openqa . selenium . IDENT_4 IDENT_5 = new org . openqa . selenium . support . METHOD_2 ( STRING_0 ) ; final org . openqa . selenium . IDENT_6 element = mock ( org . openqa . selenium . IDENT_6 . class ) ; when ( driver . METHOD_3 ( IDENT_5 ) ) . METHOD_4 ( new org . openqa . selenium . METHOD_5 ( "bar" ) ) . thenReturn ( element ) ; org . openqa . selenium . support . IDENT_0 . IDENT_7 IDENT_8 = METHOD_6 ( driver , f ) ; org . openqa . selenium . IDENT_6 IDENT_9 = IDENT_8 . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { if ( ( ( IDENT_10 ) != null ) && ( IDENT_11 ) ) { return IDENT_10 ; } org . openqa . selenium . IDENT_6 element = IDENT_12 . METHOD_3 ( IDENT_5 ) ; if ( IDENT_11 ) { IDENT_10 = element ; } return element ; }
org . junit . Assert . assertEquals ( element , IDENT_9 )