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);
    }
}

package access;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.junit4.SpringRunner;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.nullValue;
import static org.hamcrest.core.Is.is;

/**
 * Created by Vladyslav Dovhopol on 4/27/17.
 * Test Greeting Controller.
 */
@RunWith(SpringRunner.class)
public class AccessControllerTest {

    @Test
    public void assertThatNullIsNull() {
        assertThat(null, is(nullValue()));
    }
}

Write stub test to check that Travis CI runs it.
Write stub test to check that Travis CI runs it.
