Writing down unit and integration tests are pretty straightforward or at least don’t require much effort in Spring Framework. And we all love Spring for this. Don’t we? But when Spring Security is integrated into the application, testing gets trickier. In this post, I will write down my integration tests…