class StorageClientMock extends AbstractMockClient implements StorageClient {

    @Override
    public JsonNode getStorageInformation(String strategyId)
        throws StorageServerClientException {
        Integer tenantId = 0;
        try {
            tenantId = ParameterHelper.getTenantParameter();
        } catch (Exception e) {
            SysErrLogger.FAKE_LOGGER.ignoreLog(e);
        }
        try {
            if (tenantId == -1) {
                return null;
            } else if (tenantId == -2) {
                return JsonHandler.getFromString(MOCK_INFOS_EMPTY_RESULT_ARRAY);
            } else {
                return JsonHandler.getFromString(MOCK_INFOS_RESULT_ARRAY);
            }
        } catch (final InvalidParseOperationException e) {
            throw new StorageServerClientException(e);
        }
    }

}