public void MakeRequestWithInvalidAdditionalFieldInTheResource(GpConnectInteraction interaction) { var requestFactory = new RequestFactory(interaction, _fhirResourceRepository); requestFactory.ConfigureBody(_httpContext.HttpRequestConfiguration); requestFactory.ConfigureAdditionalInvalidFieldInResource(_httpContext.HttpRequestConfiguration); _httpContext.HttpRequestConfiguration.RequestHeaders.ReplaceHeader(HttpConst.Headers.kAuthorization, jwtHelper.GetBearerToken()); var httpRequest = new HttpContextRequest(_httpContext, _securityContext); httpRequest.MakeRequest(); }