public void Can_not_duplicate_licensee()
        {
            var licenseeName            = "Licensee-" + TestDataGenerator.GetRandomString(5);
            var companyName             = "Company-" + TestDataGenerator.GetRandomString(5);
            var contractStartDate       = DateTime.UtcNow.ToString("yyyy'/'MM'/'dd", CultureInfo.InvariantCulture);
            var contractEndDate         = DateTime.UtcNow.AddMonths(5).ToString("yyyy'/'MM'/'dd", CultureInfo.InvariantCulture);
            var email                   = TestDataGenerator.GetRandomEmail();
            var numberOfAllowedBrands   = TestDataGenerator.GetRandomNumber(10).ToString(CultureInfo.InvariantCulture);
            var numberOfAllowedWebsites = numberOfAllowedBrands;
            var products                = new string[] { "Mock Casino" };
            var currencies              = new string[] { "CAD" };
            var countries               = new string[] { "Canada" };
            var languages               = new string[] { "en-GB" };

            var newLicenseeForm       = _licenseeManagerPage.OpenNewLicenseeForm();
            var submittedLicenseeForm = newLicenseeForm.Submit(licenseeName, companyName, contractStartDate, contractEndDate, numberOfAllowedBrands, numberOfAllowedWebsites, email, products, currencies, countries, languages);

            Assert.AreEqual("The licensee has been successfully created", submittedLicenseeForm.ConfirmationMessage);
            submittedLicenseeForm.CloseTab("View Licensee");

            _dashboardPage.BrandFilter.SelectAll();
            var viewLicenseeForm = _licenseeManagerPage.OpenViewLicenseeForm(licenseeName);

            Assert.AreEqual(licenseeName, viewLicenseeForm.Licensee);
            Assert.AreEqual(companyName, viewLicenseeForm.CompanyName);
            Assert.AreEqual(_contractHistoryContractStartDate, viewLicenseeForm.ContractStartDate);
            Assert.AreEqual(_contractHistoryContractEndDate, viewLicenseeForm.ContractEndDate);
            Assert.AreEqual(numberOfAllowedBrands, viewLicenseeForm.NumberOfAllowedBrands);
            Assert.AreEqual(numberOfAllowedWebsites, viewLicenseeForm.NumberOfAllowedWebsites);
            Assert.AreEqual(products[0], viewLicenseeForm.AssignedProduct);
            Assert.AreEqual(currencies[0], viewLicenseeForm.AssignedCurrencies);
            Assert.AreEqual(countries[0], viewLicenseeForm.AssignedCountries);
            Assert.AreEqual(languages[0], viewLicenseeForm.AssignedLanguages);
            viewLicenseeForm.CloseTabWithTitleContains("View Licensee");

            _licenseeManagerPage.OpenNewLicenseeForm();
            newLicenseeForm.Submit(licenseeName, companyName, contractStartDate, contractEndDate, numberOfAllowedBrands, numberOfAllowedWebsites, email, products, currencies, countries, languages);
            Assert.AreEqual("This name has been used.", newLicenseeForm.NameValidationMessage);
        }