public void Constructor_TopicDomainService_Pos() { TopicDomainService topicService = new TopicDomainService(_topicRepository.Object, _exceptionManagerAdapter.Object, _loggingServiceAdapter.Object); Assert.AreEqual(_topicRepository.Object, topicService.TopicRepository); Assert.AreEqual(_exceptionManagerAdapter.Object, topicService.ExceptionManager); Assert.AreEqual(_loggingServiceAdapter.Object, topicService.LoggingService); }
public TopicApplicationService(IErechtheionConfiguration configuration, ITopicRepository topicRepository, TopicDomainService topicDomainService) : base(configuration) { _topicRepository = topicRepository; _topicDomainService = topicDomainService; }