METHOD_0 ( ) { org . IDENT_0 . selenium . IDENT_1 . IDENT_2 IDENT_3 = new org . IDENT_0 . selenium . IDENT_1 . METHOD_1 ( STRING_0 , new java . lang . METHOD_2 ( ) ) ; when ( IDENT_4 . METHOD_3 ( org . openqa . selenium . IDENT_5 . METHOD_4 ( STRING_1 ) ) ) . METHOD_5 ( new org . openqa . selenium . METHOD_6 ( STRING_2 ) ) ; when ( monitor . start ( STRING_3 ) ) . thenReturn ( IDENT_6 ) ; when ( monitor . METHOD_7 ( any ( org . IDENT_0 . selenium . IDENT_1 . METHOD_1 . class ) , any ( org . openqa . selenium . IDENT_7 . class ) ) ) . thenReturn ( IDENT_3 ) ; try { IDENT_8 . METHOD_8 ( ) . METHOD_9 ( STRING_4 ) ; org . junit . Assert . fail ( STRING_5 ) ; } catch ( org . IDENT_0 . selenium . IDENT_1 . METHOD_1 e ) { "<AssertPlaceHolder>" ; } verify ( monitor ) . start ( STRING_3 ) ; verify ( monitor ) . METHOD_7 ( any ( org . IDENT_0 . selenium . IDENT_1 . METHOD_1 . class ) , any ( org . openqa . selenium . IDENT_7 . class ) ) ; verify ( IDENT_6 ) . end ( false ) ; } METHOD_9 ( java . lang . IDENT_9 [ ] ) { IDENT_10 . METHOD_9 ( IDENT_11 ) ; }
org . junit . Assert . assertThat ( e , org . hamcrest . Matchers . is ( IDENT_3 ) )