METHOD_0 ( ) { final org . openqa . selenium . IDENT_0 exception = new org . openqa . selenium . METHOD_1 ( ) ; when ( IDENT_1 . METHOD_2 ( 0L ) ) . thenReturn ( INT_0 ) ; when ( IDENT_2 . apply ( IDENT_3 ) ) . METHOD_3 ( exception ) ; when ( IDENT_1 . METHOD_4 ( INT_0 ) ) . thenReturn ( false ) ; final org . openqa . selenium . support . ui . IDENT_4 . IDENT_5 IDENT_6 = new org . openqa . selenium . support . ui . IDENT_4 . METHOD_5 ( ) ; org . openqa . selenium . support . ui . IDENT_7 < org . openqa . selenium . IDENT_8 > IDENT_9 = new org . openqa . selenium . support . ui . IDENT_7 < org . openqa . selenium . IDENT_8 > ( IDENT_3 , IDENT_1 , IDENT_10 ) { MOD_0 org . openqa . selenium . support . ui . RuntimeException METHOD_6 ( java . lang . String message , java . lang . Throwable IDENT_11 ) { throw IDENT_6 ; } } ; IDENT_9 . METHOD_7 ( 0 , TimeUnit . IDENT_12 ) . METHOD_8 ( 2 , TimeUnit . IDENT_13 ) . METHOD_9 ( org . openqa . selenium . METHOD_1 . class ) ; try { IDENT_9 . METHOD_10 ( IDENT_2 ) ; org . junit . Assert . fail ( ) ; } catch ( org . openqa . selenium . support . ui . IDENT_4 . METHOD_5 expected ) { "<AssertPlaceHolder>" ; } } METHOD_10 ( com . google . common . base . IDENT_14 ) { long end = IDENT_15 . METHOD_2 ( IDENT_16 . in ( org . openqa . selenium . support . ui . IDENT_12 ) ) ; java . lang . Throwable IDENT_11 = null ; while ( true ) { try { IDENT_17 value = IDENT_18 . apply ( input ) ; if ( ( value != null ) && ( org . openqa . selenium . support . ui . Boolean . class . equals ( value . getClass ( ) ) ) ) { if ( Boolean . IDENT_19 . equals ( value ) ) { return value ; } } else if ( value != null ) { return value ; } } catch ( java . lang . Throwable e ) { IDENT_11 = METHOD_11 ( e ) ; } if ( ! ( IDENT_15 . METHOD_4 ( end ) ) ) { java . lang . String IDENT_20 = ( ( message ) == null ) ? STRING_0 + ( IDENT_18 . toString ( ) ) : STRING_1 + ( message ) ; java . lang . String IDENT_21 = java . lang . String . format ( STRING_2 , IDENT_16 . in ( org . openqa . selenium . support . ui . IDENT_13 ) , IDENT_20 ) ; throw METHOD_6 ( IDENT_21 , IDENT_11 ) ; } try { IDENT_22 . sleep ( IDENT_23 ) ; } catch ( java . lang . IDENT_24 e ) { java . lang . Thread . METHOD_12 ( ) . METHOD_13 ( ) ; throw new org . openqa . selenium . METHOD_14 ( e ) ; } } }
org . junit . Assert . assertSame ( IDENT_6 , expected )