Created
July 30, 2016 22:29
-
-
Save kkashyap1707/446ef8490578575d211732c371acbfd0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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