@Test
public void test_deleteFromVault_failure_400() {

    String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
    String path = "shared/mysafe01/myfolder";
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.BAD_REQUEST).body("{\"errors\":[\"Invalid path\"]}");
    when(ControllerUtil.isValidDataPath(path)).thenReturn(false);
    ResponseEntity<String> responseEntity = secretService.deleteFromVault(token, path);
    assertEquals(HttpStatus.BAD_REQUEST, responseEntity.getStatusCode());
    assertEquals(responseEntityExpected, responseEntity);
}