public DefaultRouteBuilder( IStatementFactory statementFactory, IRouteGraphBuilder graphBuilder) { _statementFactory = statementFactory ?? throw new ArgumentNullException(nameof(statementFactory)); _graphBuilder = graphBuilder ?? throw new ArgumentNullException(nameof(graphBuilder)); }
public DefaultRouteBuilderTest() { _fixture = new Fixture(); _statementFactory = Substitute.For <IStatementFactory>(); _graphBuilder = Substitute.For <IRouteGraphBuilder>(); _builder = new DefaultRouteBuilder(_statementFactory, _graphBuilder); }