code: func (c *Conn) removeRelatedCommands(commandName string, args []interface{}) {
  	var unique []*Cmd
  
  	for _, cmd := range c.commands {
  		// new array will contain only commands that are not related to the given
  		// one
  		if !equal(commandName, args, cmd) {
  			unique = append(unique, cmd)
  		}
  	}
  	c.commands = unique
  }
docs: // removeRelatedCommands verify if a command is already registered, removing
  // any command already registered with the same name and arguments. This
  // should avoid duplicated mocked commands