How to perform unit testing for resteasy-spring web application (2) - controller test

In the second part of the unit testing series, we elaborate on doing unit test for controller class in a web application.

How to perform unit testing for resteasy-spring web application (1)

This post series are an introduction on how to perform unit testing for a resteasy web application integrated with spring. In this first part, we talk about preparation and unit testing of a non-controller class