METHOD_0 ( ) { final com . spotify . IDENT_0 . IDENT_1 < java . lang . String > IDENT_2 = com . spotify . IDENT_0 . IDENT_1 . METHOD_1 ( "foo" ) . METHOD_2 ( java . lang . String . class ) . process ( ( ) -> { throw new java . lang . RuntimeException ( STRING_0 ) ; } ) ; final com . spotify . IDENT_0 . IDENT_1 < java . lang . String > task = com . spotify . IDENT_0 . IDENT_1 . METHOD_1 ( STRING_1 ) . METHOD_2 ( java . lang . String . class ) . context ( com . spotify . IDENT_0 . IDENT_3 . METHOD_3 ( ( ) -> com . spotify . IDENT_0 . IDENT_4 . IDENT_5 ) ) . input ( ( ) -> IDENT_2 ) . process ( ( IDENT_6 , IDENT_7 ) -> { com . spotify . IDENT_0 . IDENT_4 . IDENT_5 . METHOD_4 ( ) ; return IDENT_7 + IDENT_6 ; } ) ; final java . lang . Throwable IDENT_8 = com . spotify . IDENT_0 . TestUtils . METHOD_5 ( task ) ; "<AssertPlaceHolder>" ; verify ( com . spotify . IDENT_0 . IDENT_4 . IDENT_5 ) . METHOD_6 ( any ( ) ) ; METHOD_7 ( com . spotify . IDENT_0 . IDENT_4 . IDENT_5 ) ; } METHOD_5 ( com . spotify . IDENT_0 . IDENT_1 ) { com . spotify . IDENT_0 . context . IDENT_9 < java . lang . Throwable > val = new com . spotify . IDENT_0 . context . METHOD_8 ( ) ; com . spotify . IDENT_0 . IDENT_10 . sync ( ) . evaluate ( task ) . METHOD_9 ( val ) ; return val . METHOD_10 ( ) ; }
org . junit . Assert . assertThat ( IDENT_8 . getMessage ( ) , org . hamcrest . Matchers . is ( STRING_0 ) )