public void TestPostParamsInTheBody()
{
TextParams tParams = new TextParams("Sample text.");
tParams.Background = "red";
tParams.FontStyle = "italic";
tParams.TextAlign = "center";
string rString = GetMockBodyOfCoudinaryRequest(tParams, (p, t) =>
{
p.Api.Call(HttpMethod.POST, string.Empty, t.ToParamsDictionary(), null);
return (TextResult)null;
});
StringAssert.Contains("name=\"text_align\"\r\n\r\ncenter\r\n", rString);
}