Package org.encuestame.mvc.page

Examples of org.encuestame.mvc.page.SurveyController


     * Test {@link SurveyController}
     * @throws Exception
     */
    @Test
    public void testSurveyController() throws Exception {
        final SurveyController controller = new SurveyController();
        request = new MockHttpServletRequest(MethodJson.GET.toString(),
                "/user/survey");
        final ModelAndView mav = handlerAdapter.handle(request, response,
                controller);
        assertViewName(mav, "user/survey");
View Full Code Here


     * Test
     * @throws Exception
     */
    @Test
    public void testSurveyPublicController() throws Exception {
        SurveyController controller = new SurveyController();
        request = new MockHttpServletRequest(MethodJson.GET.toString(),
                "/survey/1/slug/");
        final ModelAndView mav = handlerAdapter.handle(request, response,
                controller);
        assertViewName(mav, "survey");
View Full Code Here

TOP

Related Classes of org.encuestame.mvc.page.SurveyController

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.