Verifies if the process manager class generates a command in response to an event of the passed class.