/// <summary> /// Testuje, či sa určitý typ modelu odpovede vráti z obsahu správy odpovedí HTTP. /// </summary> /// <typeparam name="TResponseModel">Type of the response model.</typeparam> /// <returns>Builder for testing the response model errors.</returns> public IHttpHandlerModelDetailsTestBuilder <TResponseModel> WithResponseModelDeserialize <TResponseModel>() { var actualModel = HttpResponseMessageValidator.DeserializeActualContentModel <TResponseModel>( this.httpResponseMessage.Content, this.ThrowNewResponseModelAssertionException); return(new HttpHandlerModelDetailsTestBuilder <TResponseModel>( this, actualModel)); }