type Fake … // NewFake creates a fake sysctl implementation. func NewFake() *Fake { … } // GetSysctl returns the value for the specified sysctl setting. func (m *Fake) GetSysctl(sysctl string) (int, error) { … } // SetSysctl modifies the specified sysctl flag to the new value. func (m *Fake) SetSysctl(sysctl string, newVal int) error { … } var _ …