METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( STRING_0 ) ; try { IDENT_1 . update ( IDENT_2 , IDENT_0 ) ; org . junit . Assert . fail ( ) ; } catch ( org . sagebionetworks . repo . model . IDENT_3 e ) { "<AssertPlaceHolder>" ; } verify ( IDENT_4 ) . METHOD_2 ( IDENT_5 ) ; verify ( IDENT_4 , METHOD_3 ( ) ) . METHOD_4 ( any ( org . sagebionetworks . repo . manager . Long . class ) , anyString ( ) ) ; } getMessage ( ) { return message ; }
org . junit . Assert . assertTrue ( e . getMessage ( ) . contains ( IDENT_0 . getId ( ) ) )