type FakeLogger … func (logger *FakeLogger) Init(info logr.RuntimeInfo) { … } func (logger *FakeLogger) Enabled(lvl int) bool { … } func (logger *FakeLogger) Info(lvl int, msg string, keysAndValues ...interface{ … } func (logger *FakeLogger) Error(err error, msg string, keysAndValues ...interface{ … } func (logger *FakeLogger) WithValues(keysAndValues ...interface{ … } func (logger *FakeLogger) WithName(name string) logr.LogSink { … } var _ … func TestWordSepNormalizeFunc(t *testing.T) { … } func TestWarnWordSepNormalizeFunc(t *testing.T) { … }