package access;

import io.restassured.http.ContentType;
import org.testng.annotations.Test;

import static io.restassured.RestAssured.get;

/**
 * Created by Vladyslav Dovhopol on 4/27/17.
 * Test Greeting Controller.
 */
public class AccessControllerTest {

    @Test
    public void GET_NoPayload_Correct() {
        get("/greeting").
        then().assertThat().
                statusCode(200).and().
                contentType(ContentType.HTML);
    }
}

@@ -21,78 +21,172 @@
 ort 
-io.restassured.http.ContentType;%0Aimport org.testng.annotations.Tes
+org.junit.Test;%0Aimport org.junit.runner.RunWith;%0Aimport org.springframework.test.context.junit4.SpringRunner;%0A%0Aimport static org.hamcrest.MatcherAssert.assertTha
 t;%0A
-%0A
 impo
@@ -199,38 +199,78 @@
 tic 
-io.restassured.RestAssured.get
+org.hamcrest.Matchers.nullValue;%0Aimport static org.hamcrest.core.Is.is
 ;%0A%0A/
@@ -350,16 +350,45 @@
 er.%0A */%0A
+@RunWith(SpringRunner.class)%0A
 public c
@@ -446,172 +446,73 @@
 oid 
-GET_NoPayload_Correct() %7B%0A        get(%22/greeting%22).%0A        then().assertThat().%0A                statusCode(200).and().%0A                contentType(ContentType.HTML
+assertThatNullIsNull() %7B%0A        assertThat(null, is(nullValue())
 );%0A 

Write stub test to check that Travis CI runs it.