@Test public void resetSetsRootPathToEmptyString() throws Exception { rootPath = "store.book"; RestAssured.reset(); assertThat(rootPath, equalTo("")); }
@Test public void whenNotSpecifyingExplicitRootPathThenDefaultRootPathIsUsed() throws Exception { rootPath = "store.book"; try { expect() .body("category.size()", equalTo(4)) .body("author.size()", equalTo(4)) .when() .get("/jsonStore"); } finally { RestAssured.reset(); } }