Welcome to the new Spring.io forums!
If this is your first visit, be sure to check out the
by clicking the link above, and for security reasons, use the
forgot password link to reset your password..
You may have to register before you can post: click the register
link above to proceed. To start viewing messages, select the forum that you want to visit
from the selection below.
It shouldn't be IDE specific. Do you mean web Controller?
Look at the spring-mock.jar, which contains useful integration testing functionality in org.springframework.test, and some mock objects for the Servlet API. Also consider using the Mock Objects library and EasyMock or Dynamock to mock the Servlet API.