I have a generated mock that doesn't compile because it has a method where one of the arguments has the name m. This conflicts with the m name given to the mock itself in the Expect method:
func (m *mContextManager_ContextParticipantStreamServerMockRecvMsg) Expect(m interface{}) *mContextManager_ContextParticipantStreamServerMockRecvMsg {
...
This could be fixed by having a more unique name for the mock (in template.go?), I think.