Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import static com.jayway.restassured.RestAssured.given;
import org.junit.Test;
public class HelloWorldRestAssured
{
@Test
public void makeSureThatGoogleIsUp()
{
given().when().get("http://www.google.com").then().statusCode(200);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment