public async Task CallingPostReturnsCreated() { // Arrange var uri = new Uri("http://localhost:36146/v1/Samples"); var content = new PostItem(); // Act var result = await RestCall.CallPostAsync <GetItem, PostItem>(uri, content); // Assert result.Status.Should().Be(HttpStatusCode.Created); }