@Test
public void testHasRepo() throws Exception {

  given().pathParam("repoId", "UNKNOWN")
          .expect()
          .statusCode(HttpStatus.SC_OK)
          .body(equalTo("false"))
          .when().get(env.host("/hasrepo/{repoId}"));
  given().pathParam("repoId", "default")
          .expect()
          .statusCode(HttpStatus.SC_OK)
          .body(equalTo("true"))
          .when().get(env.host("/hasrepo/{repoId}"));
}