private MultipartFormDataContent CreateReviewMultipartFormContent() { MultipartFormDataContent form = new MultipartFormDataContent() { { new StringContent("TITLE"), "title" }, { new StringContent("TEXT TEXT TEXT TEXT TEXT TEXT TEXT TEXT "), "text" }, { new StringContent("1"), "stars" }, }; form.Add(new ByteArrayContent(_fileHelper.GetTestFileImage()), "image", "imagefilename.jpg"); return(form); }