func init() { … } var codecs … type serverInfo … func NewFakePeerEndpointReconciler(t *testing.T, s storage.Interface) peerEndpointLeaseReconciler { … } func (f *peerEndpointLeaseReconciler) SetKeys(servers []serverInfo) error { … } func TestPeerEndpointLeaseReconciler(t *testing.T) { … } func TestPeerLeaseRemoveEndpoints(t *testing.T) { … }