public void Setup() { DatabaseConfig = new MockDatabaseConfig { TestConfigFilePath = "Test Config File", TestDatabaseFolderPath = "Test Database Folder" }; View = new MockView <OptionsController>(); Controller = new TestOptionsController(View, DatabaseConfig); }
public TestOptionsController(IView <OptionsController> view, MockDatabaseConfig mockDatabaseConfig) : base(view) { MockDatabaseConfig = mockDatabaseConfig; }