@Test
public void test_checkVaultSealStatus() throws Exception {

    String responseMessage = "{\"messages\": {\"type\": \"shamir\",\"initialized\": true,\"sealed\": false," +
            "\"progress\": 0,\"version\": \"0.11.3\",\"migration\": null,\"cluster_name\":" +
            " \"vault-cluster-9f404bc2\", \"cluster_id\": \"a26bf9f9-84e2-de1a-a4d3-cffec0ddf10b\"," +
            " \"recovery_seal\": false}}";
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body(responseMessage);
    when(sysService.checkVaultSealStatus()).thenReturn(responseEntityExpected);
    mockMvc.perform(MockMvcRequestBuilders.get("/v2/seal-status")
            .header("Content-Type", "application/json;charset=UTF-8"))
            .andExpect(status().isOk())
            .andExpect(content().string(containsString(responseMessage)));
}