public void TestTestConnectionMethidWithNullValues()
 {
     wrapper = new MySQLWrapper(null, null, null, null);
     Assert.False(wrapper.TestConnection());
 }
 public void TestTestConnectionMethidWithInvalidUserID()
 {
     wrapper = new MySQLWrapper("s403g01.cpsc.ucalgary.ca", "ismacaul_HospiPalTestDB", "seng403", "seng403");
     Assert.False(wrapper.TestConnection());
 }
 public void TestTestConnectionMethodWithInvalidServer()
 {
     wrapper = new MySQLWrapper("", "ismacaul_HospiPalTestDB", "ismacaul_seng403", "seng403");
     Assert.False(wrapper.TestConnection());
 }
 public void TestTestConnectionMethidWithInvalidDatabase()
 {
     wrapper = new MySQLWrapper("s403g01.cpsc.ucalgary.ca", "ismacaul_hos", "ismacaul_seng403", "seng403");
     Assert.False(wrapper.TestConnection());
 }
 public void TestTestConnectionMethidWithValidValues()
 {
     wrapper = new MySQLWrapper("s403g01.cpsc.ucalgary.ca", "ismacaul_HospiPalTestDB", "ismacaul_seng403", "seng403");
     Assert.True(wrapper.TestConnection());
 }