This commit is contained in:
Stef Heyenrath
2018-06-27 20:19:27 +02:00
parent 3df8bd2fdc
commit 768cc621ad
5 changed files with 21 additions and 13 deletions

View File

@@ -33,10 +33,12 @@ namespace WireMock.Net.Tests
Priority = 500,
Title = "test"
};
string result = await api.PostMappingAsync(model);
var result = await api.PostMappingAsync(model);
// Assert
Check.That(result).IsNotNull();
Check.That(result.Status).IsNotNull();
Check.That(result.Guid).IsNotNull();
var mapping = server.Mappings.Single(m => m.Priority == 500);
Check.That(mapping).IsNotNull();