public void GetUsers_allUsers_ListOfUser() { var dbManager = new DatabaseAccessManager(); var users = dbManager.GetUsers(); Assert.IsNotNull(users); }
private void LoadUserList() { comboBox1.DataSource = _databaseAccessManager.GetUsers(); comboBox1.ValueMember = "UserID"; comboBox1.DisplayMember = "FullName"; comboBox1.Text = "Please select a user."; this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged); }