Esempio n. 1
0
        public async Task Request_is_correct([Frozen] IHttpRestClient client, IHubSpotContactClient sut)
        {
            var response = await sut.GetRecentlyCreatedAsync();

            Mock.Get(client)
            .Verify(p => p.SendAsync <ContactList>(HttpMethod.Get, "/contacts/v1/lists/all/contacts/recent", It.IsAny <IQueryString>()));
        }