I have read following topic:
https://stackoverflow.com/a/18487953/2674303
But it is a bit not my variant.
Inside my method controller which I need to test I have following line:
httpServletRequest.isUserInRole("ROLE_OWNER");
How can I set role in MockHttpServletRequest
?