public UpdateInitializerTests() { _progressMock = new Mock <IUpdatingProgress>(); _dataProcessorMock = new Mock <IDataProcessor>(); _dataServiceMock = new Mock <IDataAccessService>(); _progressMock.Setup(mock => mock.GetIsUpdatingStarted()).Returns(false); _dataServiceMock.Setup(mock => mock.GetVesselsToBeUpdated()).Returns(new List <VesselAisUpdateModel>()); _service = new UpdateInitializer(_progressMock.Object, _dataServiceMock.Object, _dataProcessorMock.Object); }
public static void Main(string[] args) { UpdateInitializer initializer = new UpdateInitializer(); initializer.UpdateClient(); }