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