METHOD_0 ( ) { final java . lang . Exception IDENT_0 = new java . io . IOException ( STRING_0 ) ; when ( IDENT_1 . METHOD_1 ( ) ) . thenReturn ( IDENT_0 ) ; METHOD_2 ( new org . mockito . IDENT_2 . IDENT_3 < java . lang . IDENT_4 > ( ) { @ com . facebook . IDENT_5 . Override public com . facebook . IDENT_5 . IDENT_4 METHOD_3 ( org . mockito . IDENT_6 . IDENT_7 IDENT_6 ) throws java . lang . Throwable { final java . lang . Object [ ] args = IDENT_6 . METHOD_4 ( ) ; com . facebook . IDENT_5 . IDENT_8 IDENT_9 = ( ( com . facebook . IDENT_5 . IDENT_8 ) ( args [ 0 ] ) ) ; IDENT_9 . METHOD_5 ( IDENT_1 ) ; return null ; } } ) . when ( IDENT_1 ) . METHOD_6 ( any ( com . facebook . IDENT_5 . IDENT_8 . class ) , any ( java . util . concurrent . IDENT_10 . class ) ) ; try { com . facebook . IDENT_5 . IDENT_11 . METHOD_7 ( IDENT_1 ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( java . lang . Exception exception ) { "<AssertPlaceHolder>" ; } verify ( IDENT_12 , times ( 1 ) ) . METHOD_8 ( ) ; verify ( IDENT_12 , times ( 1 ) ) . METHOD_9 ( ) ; } METHOD_7 ( com . facebook . IDENT_5 . IDENT_13 ) { final java . util . concurrent . IDENT_14 IDENT_15 = new java . util . concurrent . METHOD_10 ( 1 ) ; final com . facebook . IDENT_5 . IDENT_11 . IDENT_16 < T > IDENT_17 = new com . facebook . IDENT_5 . IDENT_11 . IDENT_16 < > ( ) ; final com . facebook . IDENT_5 . IDENT_11 . IDENT_16 < java . lang . Throwable > IDENT_18 = new com . facebook . IDENT_5 . IDENT_11 . IDENT_16 < > ( ) ; IDENT_19 . METHOD_6 ( new com . facebook . IDENT_5 . IDENT_8 < T > ( ) { @ com . facebook . IDENT_5 . Override public void METHOD_11 ( com . facebook . IDENT_5 . IDENT_13 < T > IDENT_19 ) { if ( ! ( IDENT_19 . METHOD_12 ( ) ) ) { return ; } try { IDENT_17 . value = IDENT_19 . METHOD_13 ( ) ; } finally { IDENT_15 . METHOD_9 ( ) ; } } @ com . facebook . IDENT_5 . Override public void METHOD_5 ( com . facebook . IDENT_5 . IDENT_13 < T > IDENT_19 ) { try { IDENT_18 . value = IDENT_19 . METHOD_1 ( ) ; } finally { IDENT_15 . METHOD_9 ( ) ; } } @ com . facebook . IDENT_5 . Override public void METHOD_14 ( com . facebook . IDENT_5 . IDENT_13 < T > IDENT_19 ) { IDENT_15 . METHOD_9 ( ) ; } @ com . facebook . IDENT_5 . Override public void METHOD_15 ( com . facebook . IDENT_5 . IDENT_13 < T > IDENT_19 ) { } } , new java . util . concurrent . METHOD_16 ( ) { @ com . facebook . IDENT_5 . Override public void execute ( java . lang . IDENT_20 command ) { command . run ( ) ; } } ) ; IDENT_15 . METHOD_8 ( ) ; if ( ( IDENT_18 . value ) != null ) { throw IDENT_18 . value ; } return IDENT_17 . value ; }
org . junit . Assert . assertEquals ( IDENT_0 , exception )