public void TrackViaClient_CreateUser_ShouldReturnUser() { // Assemble UserRecord record = TestData.getUnitTestUserRecord1(); Mock <IAsyncHttpClientHelper> httpClient = new Mock <IAsyncHttpClientHelper>(); TestHelper.HttpClient_SetupPostJsonRequest(HttpStatusCode.OK, record, httpClient); TrackViaClient client = new TrackViaClient(httpClient.Object, TestHelper.HostName_Fake, TestHelper.ApiKey_Fake); // Act User userReponse = client.createUser(record.Data.Email, record.Data.FirstName, record.Data.LastName, record.Data.TimeZone); // Assert userReponse .ShouldNotBeNull() .ShouldEqual(record.Data); }