public ConnectionTests() { m_server = new FakeMySqlServer(); m_server.Start(); m_csb = new MySqlConnectionStringBuilder { Server = "localhost", Port = (uint)m_server.Port, }; }
public FakeMySqlServerConnection(FakeMySqlServer server, int connectionId) { m_server = server ?? throw new ArgumentNullException(nameof(server)); m_connectionId = connectionId; }