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 ) ; final java . util . List < org . openqa . selenium . IDENT_6 > IDENT_7 = new java . util . ArrayList < org . openqa . selenium . IDENT_6 > ( ) ; IDENT_7 . add ( element ) ; when ( driver . METHOD_3 ( IDENT_5 ) ) . METHOD_4 ( new org . openqa . selenium . METHOD_5 ( "bar" ) ) . thenReturn ( IDENT_7 ) ; org . openqa . selenium . support . IDENT_0 . IDENT_8 IDENT_9 = METHOD_6 ( driver , f ) ; java . util . List < org . openqa . selenium . IDENT_6 > IDENT_10 = IDENT_9 . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } get ( java . lang . String ) { return options . get ( key ) ; }
org . junit . Assert . assertEquals ( element , IDENT_10 . get ( 0 ) )