METHOD_0 ( ) { final org . openqa . selenium . IDENT_0 IDENT_1 = mock ( org . openqa . selenium . IDENT_0 . class ) ; final org . openqa . selenium . IDENT_2 IDENT_3 = mock ( org . openqa . selenium . IDENT_2 . class ) ; final java . lang . StringBuilder log = new java . lang . StringBuilder ( ) ; when ( IDENT_1 . METHOD_1 ( org . openqa . selenium . IDENT_4 . name ( "foo" ) ) ) . thenReturn ( IDENT_3 ) ; org . openqa . selenium . support . events . IDENT_5 IDENT_6 = new org . openqa . selenium . support . events . METHOD_2 ( IDENT_1 ) . METHOD_3 ( new org . openqa . selenium . support . events . METHOD_4 ( ) { @ org . openqa . selenium . support . events . Override public void METHOD_5 ( org . openqa . selenium . IDENT_2 element , org . openqa . selenium . IDENT_0 driver ) { log . append ( STRING_0 ) ; } @ org . openqa . selenium . support . events . Override public void METHOD_6 ( org . openqa . selenium . IDENT_2 element , org . openqa . selenium . IDENT_0 driver ) { log . append ( STRING_1 ) ; } } ) ; IDENT_6 . METHOD_1 ( org . openqa . selenium . IDENT_4 . name ( "foo" ) ) . METHOD_7 ( ) ; "<AssertPlaceHolder>" ; org . mockito . IDENT_7 order = org . mockito . Mockito . METHOD_8 ( IDENT_1 , IDENT_3 ) ; order . verify ( IDENT_1 ) . METHOD_1 ( org . openqa . selenium . IDENT_4 . name ( "foo" ) ) ; order . verify ( IDENT_3 ) . METHOD_7 ( ) ; order . METHOD_9 ( ) ; } toString ( ) { return ( ( STRING_2 + ( id ) ) + STRING_3 ) + ( name ) ; }
org . junit . Assert . assertEquals ( ( STRING_0 + STRING_1 ) , log . toString ( ) )