It will be very handy if we can support something similar to @WithMockUser in Spring. Then we can test an endpoint with an anonymous and authenticated user easily.
Task List
[ ] Steps to reproduce provided
[ ] Stacktrace (if present) provided
[ ] Example that reproduces the problem uploaded to Github
[ ] Full description of the issue provided (see below)
It will be very handy if we can support something similar to
@WithMockUser
in Spring. Then we can test an endpoint with an anonymous and authenticated user easily.Task List
Steps to Reproduce
Assume I have
Expected Behaviour
Actual Behaviour
I don't have something like
@WithMockUser
I can use.Environment Information
Example Application