public StopsCalculateLogic(IStarShipDeserializer starShipDeserializer, IApiHandlerWrapper apiHandlerWrapper) { _starShipDeserializer = starShipDeserializer; _apiHandlerWrapper = apiHandlerWrapper; }
public void TestInit() { _apiHandlerWrapper = Substitute.For <IApiHandlerWrapper>(); _starShipDeserializer = Substitute.For <IStarShipDeserializer>(); _stopsCalculateLogic = new StopsCalculateLogic(_starShipDeserializer, _apiHandlerWrapper); }
public void TestInit() { _apiHandlerWrapper = new ApiHandlerWrapper(); }