I have a Spring method :
@RenderMapping
public String gotoPage(RenderRequest argRenderRequest, ModelMap modelMap){
.....
}
How do I test this method - gotoPage
. Should I use EasyMock/Mockito to mock the RenderRequest
& ModelMap
?
Does the annotation @RenderMapping
have any impact as part of testing this method ?