METHOD_0 ( ) { ca . uhn . fhir . rest . server . interceptor . IDENT_0 IDENT_1 = mock ( ca . uhn . fhir . rest . server . interceptor . IDENT_0 . class ) ; when ( IDENT_1 . METHOD_1 ( any ( ca . uhn . fhir . rest . api . server . IDENT_2 . class ) , any ( java . lang . Throwable . class ) , METHOD_2 ( javax . servlet . http . IDENT_3 . class ) ) ) . METHOD_3 ( new javax . servlet . METHOD_4 ( STRING_0 ) ) ; interceptor = new ca . uhn . fhir . jaxrs . server . interceptor . METHOD_5 ( IDENT_1 ) ; when ( context . METHOD_6 ( ) ) . METHOD_3 ( new javax . servlet . METHOD_4 ( ) ) ; try { interceptor . METHOD_7 ( context ) ; org . junit . Assert . fail ( ) ; } catch ( ca . uhn . fhir . jaxrs . server . interceptor . IDENT_4 e ) { "<AssertPlaceHolder>" ; } } getMessage ( ) { return ( this . message ) == null ? null : this . message . getValue ( ) ; }
org . junit . Assert . assertTrue ( e . getMessage ( ) . contains ( STRING_0 ) )