Last active
October 16, 2018 06:27
-
-
Save mukkesmarty/b7939e7d61cd2e1f3b0168a21b88bbbe to your computer and use it in GitHub Desktop.
This file contains 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
public class FunctionalTest{ | |
@Test | |
public void setup(){ | |
baseURI = "<YOURENDPOINTURL>"; | |
String appkey = "<YOURAPPKEY>"; | |
given(). | |
header("AppKey", appkey). | |
when(). | |
get(baseURI). | |
then(). | |
statusCode(200) | |
.assertThat() | |
.body("payload.voyages.size", equalTo(45)) | |
.log().everything(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment