예제 #1
0
        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);
        }
예제 #2
0
 public TopicApplicationService(IErechtheionConfiguration configuration, ITopicRepository topicRepository, TopicDomainService topicDomainService) : base(configuration)
 {
     _topicRepository    = topicRepository;
     _topicDomainService = topicDomainService;
 }