public void Init() { _riskCalculator = new RiskCalculator(); _exposureKeyMock = new ExposureKeyMock(); _rndGenerator = new MockRandomGenerator(); _key = _exposureKeyMock.CreateMockedExposureKey(); }
public void Init() { _epochConverter = new Mock <IEpochConverter>(MockBehavior.Strict); SetupEpochConverterMock(); _keyValidator = new KeyValidator(_epochConverter.Object); _countryFactory = new CountryMockFactory(); _rndGenerator = new MockRandomGenerator(); _exposureKeyMock = new ExposureKeyMock(); _key = _exposureKeyMock.CreateMockedExposureKey(); }