@Test
public void getRegionTypes() throws Exception {

    this.mockMvc = MockMvcBuilders.webAppContextSetup(this.wac).build();
    this.mockHttpSession = loginAsAdmin();
    this.mockMvc.perform(get("/srv/api/regions/types")
        .session(this.mockHttpSession)
        .accept(MediaType.parseMediaType("application/json")))
        .andExpect(status().isOk())
        .andExpect(content().contentType(API_JSON_EXPECTED_ENCODING))
        .andExpect(jsonPath("$[*].id", hasItem("http://www.naturalearthdata.com/ne_admin#Continent")))
        .andExpect(jsonPath("$[*].id", hasItem("http://www.naturalearthdata.com/ne_admin#Country")))
        .andExpect(jsonPath("$[*].id", hasItem("metadata")));
}