public TorreHanoiApplicationService(ITorreHanoiDomainService domainService, ILogger log, IDesignerService designerService)
 {
     _domainService    = domainService;
     _adpterTorreHanoi = new TorreHanoiAdapter();
     _log             = log;
     _designerService = designerService;
 }
        public void SetUp()
        {
            var mockLogger = new Mock <ILogger>();

            mockLogger.Setup(s => s.Logar(It.IsAny <string>(), It.IsAny <TipoLog>()));

            var mockQueueRepository = new Mock <IQueueRepository>();

            mockQueueRepository.Setup(s => s.AdicionarNaFila(It.IsAny <global::Domain.TorreHanoi.TorreHanoi>()));
            mockQueueRepository.Setup(s => s.ObterPor(It.IsAny <Guid>())).Returns(new global::Domain.TorreHanoi.TorreHanoi(3, mockLogger.Object));
            mockQueueRepository.Setup(s => s.ObterTodos()).Returns(() => new List <global::Domain.TorreHanoi.TorreHanoi> {
                new global::Domain.TorreHanoi.TorreHanoi(3, mockLogger.Object)
            });

            _service = new TorreHanoiDomainService(mockQueueRepository.Object, mockLogger.Object);
        }