public async Task Resolve_ShouldCall_OriginResolve_WithParameters() { // Arrange const string host = "hostname"; var cancellationToken = CancellationToken.None; var client = new SafeDnsClient(_dnsClient); // Act await client.Resolve(host, cancellationToken); // Assert await _dnsClient.Received(1).Resolve(host, cancellationToken); }