public void CanActivateStatus(int canUseLicenseServer, int cannotUseLicenseServer, Status expected)
        {
            //Setup
            List <LicenseDataGridViewRow> data = CreateData(canUseLicenseServer, cannotUseLicenseServer);

            Assert.That(data.Count, Is.EqualTo(canUseLicenseServer + cannotUseLicenseServer), "Data not prepared properly");
            LicenseSelectionVerifier lv = new OlderServerVerifier(data);

            //Assert
            Assert.That(lv.Status, Is.EqualTo(Status.Unchecked), "Pre-Data validation status");
            lv.Verify();
            Assert.That(lv.Status, Is.EqualTo(expected),
                        String.Format("Data validation: can use server = {0}, cannot use server = {1}", canUseLicenseServer, cannotUseLicenseServer));

            ObjectManager.ClearXenObjects(id);
        }
        public void CanActivateMessageSet(int canUseLicenseServer, int cannotUseLicenseServer, bool messageSet)
        {
            //Setup
            List <LicenseDataGridViewRow> data = CreateData(canUseLicenseServer, cannotUseLicenseServer);

            Assert.That(data.Count, Is.EqualTo(canUseLicenseServer + cannotUseLicenseServer), "Data not prepared properly");
            LicenseSelectionVerifier lv = new OlderServerVerifier(data);

            //Assert
            Assert.That(lv.Status, Is.EqualTo(Status.Unchecked), "Pre-Data validation status");
            lv.Verify();
            string message = lv.VerificationDetails();

            Assert.AreEqual(messageSet, !String.IsNullOrEmpty(message),
                            String.Format("Message set validation: can use server = {0}, cannot use server = {1}", canUseLicenseServer, cannotUseLicenseServer));

            ObjectManager.ClearXenObjects(id);
        }