Package javaguide.tests.controllers

Examples of javaguide.tests.controllers.Application


public class ApplicationTest extends WithApplication {
 
  @Test
  public void testIndex() {
    Result result = new Application().index();
    assertEquals(OK, status(result));
    assertEquals("text/html", contentType(result));
    assertEquals("utf-8", charset(result));
    assertTrue(contentAsString(result).contains("Welcome"));
  }
View Full Code Here

TOP

Related Classes of javaguide.tests.controllers.Application

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.