Package org.springframework.samples.mvc.testing

Source Code of org.springframework.samples.mvc.testing.SimpleControllerTests

package org.springframework.samples.mvc.testing;

import static org.junit.Assert.assertEquals;

import org.junit.Test;
import org.springframework.samples.mvc.simple.SimpleController;

public class SimpleControllerTests {

  @Test
  public void test() {
    SimpleController controller = new SimpleController();
    assertEquals("Hello world!", controller.simple());
  }
}
TOP

Related Classes of org.springframework.samples.mvc.testing.SimpleControllerTests

TOP
Copyright © 2018 www.massapi.com. 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.