2281119 - UserHasRole condition implementation.

Initial code. Not sure if the data types are correct neither what to do (how to properly define) the "operations" parameter.
You don't need to use setMethods() if you don't need any of the "real" methods. Which is the case here. By default, phpunit mocks all methods. There are basically 3 options:

->setMethods(NULL) (no methods mocked)
->setMethods([]) (or not calling it at all => all methods mocked)
->setMethods(['foo', ...]) (only the specified methods mocked).

In this case, because we only need the stub object, you can delete this line.