METHOD_0 ( ) { java . lang . String message = STRING_0 ; org . IDENT_0 . core . api . remote . IDENT_1 result = new org . IDENT_0 . core . api . remote . METHOD_1 ( message , org . IDENT_0 . core . api . remote . METHOD_1 . IDENT_2 . Exception ) ; when ( IDENT_3 . METHOD_2 ( any ( java . lang . String . class ) , any ( java . lang . String . class ) , any ( org . IDENT_0 . core . api . remote . IDENT_4 . class ) ) ) . thenReturn ( result ) ; org . IDENT_0 . core . services . internal . IDENT_5 . IDENT_6 IDENT_7 = ( ( org . IDENT_0 . core . services . internal . IDENT_5 . IDENT_6 ) ( java . lang . reflect . IDENT_8 . METHOD_3 ( org . IDENT_0 . core . services . internal . IDENT_5 . IDENT_6 . class . METHOD_4 ( ) , new java . lang . Class [ ] { org . IDENT_0 . core . services . internal . IDENT_5 . IDENT_6 . class } , proxy ) ) ) ; try { METHOD_3 . METHOD_5 ( ) ; org . junit . Assert . fail ( ) ; } catch ( java . lang . RuntimeException e ) { "<AssertPlaceHolder>" ; } } getMessage ( ) { return message ; }
org . junit . Assert . assertThat ( e . getMessage ( ) , org . hamcrest . Matchers . equalTo ( message ) )