public async void HasMultipleManageableOrganisationUsers_ForOrganisationWithMoreThanOneUser_AllRejectedStatuses_ReturnsFalse() { using (DatabaseWrapper database = new DatabaseWrapper()) { ModelHelper helper = new ModelHelper(database.Model); // Arrange var organisation = helper.CreateOrganisation(); // Rejected users helper.CreateOrganisationUser(organisation, "Test user1", 3); helper.CreateOrganisationUser(organisation, "Test user2", 3); database.Model.SaveChanges(); var dataAccess = new GetOrganisationOverviewDataAccess(database.WeeeContext); // Act var result = await dataAccess.HasMultipleManageableOrganisationUsers(organisation.Id); // Assert Assert.False(result); } }