Ejemplo n.º 1
0
 public DefaultRouteBuilder(
     IStatementFactory statementFactory,
     IRouteGraphBuilder graphBuilder)
 {
     _statementFactory = statementFactory ?? throw new ArgumentNullException(nameof(statementFactory));
     _graphBuilder     = graphBuilder ?? throw new ArgumentNullException(nameof(graphBuilder));
 }
Ejemplo n.º 2
0
        public DefaultRouteBuilderTest()
        {
            _fixture = new Fixture();

            _statementFactory = Substitute.For <IStatementFactory>();
            _graphBuilder     = Substitute.For <IRouteGraphBuilder>();

            _builder = new DefaultRouteBuilder(_statementFactory,
                                               _graphBuilder);
        }