import org.junit.Test;
import play.twirl.api.Html;

import static org.fest.assertions.Assertions.assertThat;
import static play.test.Helpers.contentAsString;
import static play.test.Helpers.contentType;


/**
 * Simple (JUnit) tests that can call all parts of a play app.
 * If you are interested in mocking a whole application, see the wiki for more details.
 */
public class ApplicationTest {

    @Test
    public void simpleCheck() {
        int a = 1 + 1;
        assertThat(a).isEqualTo(2);
    }

    @Test
    public void renderTemplate() {
        Html html = views.html.index.render("Your new application is ready.");
        assertThat(contentType(html)).isEqualTo("text/html");
        assertThat(contentAsString(html)).contains("Your new application is ready.");
    }


}

@@ -542,24 +542,20 @@
 ate() %7B%0A
-        
+//%09%09
 Html htm
@@ -613,32 +613,28 @@
 s ready.%22);%0A
-        
+//%09%09
 assertThat(c
@@ -679,94 +679,8 @@
 %22);%0A
-        assertThat(contentAsString(html)).contains(%22Your new application is ready.%22);%0A
     

Fix broken test case