Availability had no test coverage because none of the services on that path had an injectable transport.
Seam: RDAPTransport (one HTTP fetch, URLSessionRDAPTransport by default)
and DNSLookup (one record lookup, DNSLookupService by default), passed as
defaulted parameters on RDAPService.registrationStatus,
RDAPService.ownership, DomainAvailabilityService.check and
DomainAvailabilityService.suggestions. No call site changes. The RDAP fetch
returns (Data, URLResponse) because the 404 attribution turns on the
response URL, not just the status code.
Tests: DomainDigTests/AvailabilityTests.swift, eight cases covering the
bootstrap 404 with DNS records (registered, not available), the registry 404
(available), a domain record, a non-domain record and a transport error
falling through to DNS, no records anywhere (unknown), blank input short
circuiting before any lookup, and suggestions mapping each candidate.
Verified against the pre-fix behaviour: reintroducing either defect fails six of the eight.
89 tests, 0 failures.