public void Test03_TestGetProfiles_Fails_NoDistributionList()
		{
			MSOutlook.Application outlookApp = new MSOutlook.Application();
			IWorkshareProfileProvider profileProvider = new ServerProfilesOutlook(outlookApp, _invalidDistributionListName);

			WorkshareProfileCollection profiles = profileProvider.GetProfiles();

			Assert.AreEqual(profiles.Keys.Count, 1);

            Assert.AreEqual(profiles[0].Name, "Group Default");
			Assert.AreEqual("", ((ServerProfile) profiles[0]).EmailAddress);
		}
		public void Test01_TestGetProfiles_Succeeds()
		{
			MSOutlook.Application outlookApp = new MSOutlook.Application();
			IWorkshareProfileProvider profileProvider = new ServerProfilesOutlook(outlookApp, _validDistributionListName);

			WorkshareProfileCollection profiles = profileProvider.GetProfiles();

			Assert.AreEqual(profiles.Keys.Count, 3);

			Assert.AreEqual(profiles[0].Name, "External1");
			Assert.AreEqual("*****@*****.**", ((ServerProfile) profiles[0]).EmailAddress);

			Assert.AreEqual(profiles[1].Name, "Internal1");
			Assert.AreEqual("*****@*****.**", ((ServerProfile) profiles[1]).EmailAddress);

			Assert.AreEqual(profiles[2].Name, "Group Default");
			Assert.AreEqual("", ((ServerProfile) profiles[2]).EmailAddress);
		}