Add unit test for Response Handlebars

This commit is contained in:
Stef Heyenrath
2017-01-20 17:52:49 +01:00
parent 1b2d20fd69
commit 6c16d45256
16 changed files with 141 additions and 121 deletions

View File

@@ -245,7 +245,7 @@ namespace WireMock.Net.Tests
// when
string bodyAsString = "Hello world!";
byte[] body = Encoding.UTF8.GetBytes(bodyAsString);
var request = new RequestMessage(new Uri("http://localhost/foo"), "PUT", body, bodyAsString, new Dictionary<string, string> { { "X-toto", "tatata" } });
var request = new RequestMessage(new Uri("http://localhost/foo"), "PUT", body, bodyAsString);
// then
Check.That(spec.IsMatch(request)).IsTrue();