func TestConfigurationChannels(t *testing.T) { … } type MergeMock … func (m MergeMock) Merge(source string, update interface{ … } func TestMergeInvoked(t *testing.T) { … } type mergeFunc … func (f mergeFunc) Merge(source string, update interface{ … } func TestSimultaneousMerge(t *testing.T) { … }