public static ICommander <T> UseMySql <T>(string settingsFile = "Syrx.MySql.Integration.Tests.json") { var settings = JsonConvert.DeserializeObject <DatabaseCommanderSettings>(File.ReadAllText(settingsFile)); var reader = new DatabaseCommandReader(settings); var connector = new MySqlDatabaseConnector(settings); return(new DatabaseCommander <T>(reader, connector)); }
public void Successfully() { var result = new DatabaseCommandReader(SettingsDouble.GetSettings()); NotNull(result); }