message: chore: adjust to the new OffChainDataSource structure
diff: @@ -16,14 +16,11 @@ import {
  Contracts as DeviceRegistryContracts
  } from '@energyweb/device-registry';
  import { Configuration } from '@energyweb/utils-general';
  -import {
  - OffChainDataClientMock,
  - ConfigurationClientMock,
  - UserClientMock
  -} from '@energyweb/origin-backend-client-mocks';
  +import { OffChainDataSourceMock } from '@energyweb/origin-backend-client-mocks';
  +import { IDevice, DeviceStatus } from '@energyweb/origin-backend-core';
  +
  import { deployERC721TestReceiver } from './deploy';
  import { TestReceiver } from '../wrappedContracts/TestReceiver';
  -
  import { CertificateLogic, Certificate } from '..';
  import { migrateCertificateRegistryContracts } from '../utils/migrateContracts';
  import { logger } from '../blockchain-facade/Logger';
  @@ -134,12 +131,7 @@ describe('CertificateLogic-Facade', () => {
  certificateLogicInstance: certificateLogic,
  web3
  },
  - offChainDataSource: {
  - baseUrl: `${process.env.BACKEND_URL}/api`,
  - client: new OffChainDataClientMock(),
  - configurationClient: new ConfigurationClientMock(),
  - userClient: new UserClientMock()
  - },
  + offChainDataSource: new OffChainDataSourceMock(),
  logger
  };
  });
  @@ -184,18 +176,15 @@ describe('CertificateLogic-Facade', () => {
  smartMeter: { address: deviceSmartmeter },
  owner: { address: accountDeviceOwner },
  lastSmartMeterReadWh: 0,
  - status: Device.DeviceStatus.Active,
  - usageType: Device.UsageType.Producing,
  - lastSmartMeterReadFileHash: 'lastSmartMeterReadFileHash',
  - propertiesDocumentHash: null,
  - url: null
  + lastSmartMeterReadFileHash: 'lastSmartMeterReadFileHash'
  };
  - const devicePropsOffChain: ProducingDevice.IOffChainProperties = {
  + const devicePropsOffChain: Omit<IDevice, 'id'> = {
  + status: DeviceStatus.Active,
  facilityName: 'TestFacility',
  operationalSince: 0,
  capacityInW: 10,
  - country: 'Thailand',
  + country: 221,
  address:
  '95 Moo 7, Sa Si Mum Sub-district, Kamphaeng Saen District, Nakhon Province 73140',
  gpsLatitude: '14.059500',
  @@ -214,6 +203,8 @@ describe('CertificateLogic-Facade', () => {
  assert.equal(await ProducingDevice.getDeviceListLength(conf), 0);
  await ProducingDevice.createDevice(deviceProps, devicePropsOffChain, conf);
  +
  + assert.equal(await ProducingDevice.getDeviceListLength(conf), 1);
  });
  it('should log a new meterreading ', async () => {
  