func newFakeClient(proto, addr string) *fakes.FakeClient { c := fakes.FakeClient{} c.SchemeReturns(proto) c.AddressReturns(addr) return &c }