// Path: spanners-mvc/src/main/java/org/dontpanic/spanners/springmvc/controllers/HomeController.java
// public static final String VIEW_NOT_SIGNED_IN = "index";


import org.junit.Test;
import static org.dontpanic.spanners.springmvc.controllers.HomeController.VIEW_NOT_SIGNED_IN;
import static org.junit.Assert.assertEquals;
package org.dontpanic.spanners.springmvc.controllers;



/**
 * Test for home page
 * User: Stevie
 * Date: 05/10/13
 */
public class HomeControllerTest {

    private HomeController controller = new HomeController();

    @Test
    public void testHomePage() {

        // Call the controller
        String response = controller.index();
// Path: spanners-mvc/src/main/java/org/dontpanic/spanners/springmvc/controllers/HomeController.java
// public static final String VIEW_NOT_SIGNED_IN = "index";


// Path: spanners-mvc/src/test/java/org/dontpanic/spanners/springmvc/controllers/HomeControllerTest.java
import org.junit.Test;
import static org.dontpanic.spanners.springmvc.controllers.HomeController.VIEW_NOT_SIGNED_IN;
import static org.junit.Assert.assertEquals;

package org.dontpanic.spanners.springmvc.controllers;



/**
 * Test for home page
 * User: Stevie
 * Date: 05/10/13
 */
public class HomeControllerTest {

    private HomeController controller = new HomeController();

    @Test
    public void testHomePage() {

        // Call the controller
        String response = controller.index();
        assertEquals("view name", VIEW_NOT_SIGNED_IN, response);