METHOD_0 ( ) { final java . lang . Exception ex = new java . lang . Exception ( STRING_0 ) ; final java . util . concurrent . IDENT_0 < java . lang . String > future = com . spotify . IDENT_1 . IDENT_2 . METHOD_1 ( ex ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . util . concurrent . IDENT_0 ) { java . util . concurrent . IDENT_3 < T > future = IDENT_4 . METHOD_3 ( ) ; if ( ! ( future . METHOD_4 ( ) ) ) { throw new java . lang . IllegalStateException ( STRING_1 ) ; } try { future . join ( ) ; return null ; } catch ( java . util . concurrent . IDENT_5 x ) { return x . METHOD_5 ( ) ; } }
org . junit . Assert . assertThat ( com . spotify . IDENT_1 . IDENT_2 . METHOD_2 ( future ) , org . hamcrest . core . Is . is ( ex ) )