(ctx context.Context, t testing.TB)
| 1503 | } |
| 1504 | |
| 1505 | func newFakeDNSSetter(ctx context.Context, t testing.TB) *fakeDNSSetter { |
| 1506 | return &fakeDNSSetter{ |
| 1507 | ctx: ctx, |
| 1508 | t: t, |
| 1509 | calls: make(chan *setDNSCall), |
| 1510 | } |
| 1511 | } |
| 1512 | |
| 1513 | func (f *fakeDNSSetter) SetDNSHosts(hosts map[dnsname.FQDN][]netip.Addr) error { |
| 1514 | f.t.Helper() |
no outgoing calls
no test coverage detected