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