Last active
November 15, 2019 21:20
-
-
Save jwkidd3/57f9a633029d4386ce1f69d114d8a44a 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
| <dependency> | |
| <groupId>com.jayway.restassured</groupId> | |
| <artifactId>rest-assured</artifactId> | |
| <version>2.3.1</version> | |
| </dependency> | |
| <dependency> | |
| <groupId>io.rest-assured</groupId> | |
| <artifactId>json-path</artifactId> | |
| </dependency> | |
| <dependency> | |
| <groupId>com.jayway.jsonpath</groupId> | |
| <artifactId>json-path-assert</artifactId> | |
| </dependency> | |
| ResponseEntity<String> response = template.exchange(uri, HttpMethod.GET, | |
| new HttpEntity<String>(headers), | |
| String.class); | |
| import static com.jayway.jsonpath.matchers.JsonPathMatchers.hasJsonPath; | |
| import static org.hamcrest.CoreMatchers.hasItem; | |
| import static org.junit.Assert.assertThat; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment