public MicroserviceDefinitionBuilderTests()
 {
     _logger            = Substitute.For <IAlleyLogger>();
     _descriptor        = Substitute.For <IMicroserviceDescriptor>();
     _textReaderFactory = Substitute.For <ITextReaderFactory>();
     _sut = new MicroserviceDefinitionBuilder(_descriptor, _textReaderFactory, _logger);
 }
Esempio n. 2
0
 public MicroserviceDefinitionBuilder(
     IMicroserviceDescriptor microserviceDescriptor,
     ITextReaderFactory textReaderFactory,
     IAlleyLogger logger)
 {
     _microserviceDescriptor = microserviceDescriptor;
     _textReaderFactory      = textReaderFactory;
     _logger = logger;
 }