@Test
public void test_createfolder_successfully_noContent() {

    String responseJson = "{\"messages\":[\"Folder created \"]}";
    String path = "shared/mysafe01";
    String jsonStr ="{\"path\":\""+path +"\",\"data\":{\"default\":\"default\"}}";
    String token = "5PDrOhsy4ig8L3EpsJZSLAMg";
    Response response = getMockResponse(HttpStatus.NO_CONTENT, true, responseJson);
    ResponseEntity<String> responseEntityExpected = ResponseEntity.status(HttpStatus.OK).body(responseJson);
    when(ControllerUtil.isPathValid(any())).thenReturn(true);
    when(reqProcessor.process("/sdb/createfolder",jsonStr,token)).thenReturn(response);
    ResponseEntity<String> responseEntity = safesService.createfolder(token, path);
    assertEquals(HttpStatus.OK, responseEntity.getStatusCode());
    assertEquals(responseEntityExpected, responseEntity);
}