示例#1
0
        public async Task Request_is_correct([Frozen] IHttpRestClient client, IHubSpotContactClient sut, long contactId, IReadOnlyList <ValuedProperty> properties)
        {
            await sut.UpdateByIdAsync(contactId, properties);

            Mock.Get(client)
            .Verify(p => p.SendAsync(HttpMethod.Post, $"/contacts/v1/contact/vid/{contactId}/profile", PropertyList.Contains(properties), null));
        }