METHOD_0 ( ) { METHOD_1 ( new java . io . IOException ( STRING_0 ) ) . when ( transaction ) . METHOD_2 ( any ( ) , any ( ) ) ; when ( transaction . METHOD_3 ( IDENT_0 . id ( ) ) ) . thenReturn ( java . util . Optional . of ( IDENT_0 ) ) ; try { IDENT_1 . store ( IDENT_2 , com . spotify . IDENT_3 . api . METHOD_3 . IDENT_4 . IDENT_5 ) ; org . junit . Assert . fail ( ) ; } catch ( java . lang . RuntimeException e ) { "<AssertPlaceHolder>" ; } } METHOD_4 ( ) { return IDENT_6 ; }
org . junit . Assert . assertEquals ( STRING_0 , e . METHOD_4 ( ) . getMessage ( ) )