public void Setup() { _routeModel = new RouteModel { Route = "getObjects" }; _config = new ApplicationConfig { PathToRootFolder = @"C:\MockServerRootFolder", ApplicationMode = ApplicationMode.File }; _filterFactory = new FilterFactory(); _fileModelReader = new FileModelReader(_config, _filterFactory); }
public void Setup() { _routeModel = new RouteModel { Route = "getObjects.arrayTest" }; IApplicationConfig config = new ApplicationConfig { PathToRootFolder = @"C:\MockServerRootFolder", ApplicationMode = ApplicationMode.File, FileName = "routes.json" }; _fileModelReader = new FileModelReader(config, _filterFactory); _jsonFilter = new JsonArrayFilter(); }