public void MySQLDatabaseHandlerCloseConnectionTest() { MySQLDatabaseHandler handler = new MySQLDatabaseHandler(server, database, username, password); DbConnection con = handler.OpenConnection(); bool sucess = handler.CloseConnection(); Assert.IsTrue(sucess); }
public void MySQLDatabaseHandlerOpenConnectionTest() { MySQLDatabaseHandler handler = new MySQLDatabaseHandler(server, database, username, password); DbConnection con = handler.OpenConnection(); Assert.IsNotNull(con); handler.CloseConnection(); }