public void SetUpFixture()
		{
			editor = new WixDropDownEditor();
			
			// Edit the value.
			mockServiceProvider = new MockServiceProvider();
			mockWindowsFormsEditorService = new MockWindowsFormsEditorService();
			mockServiceProvider.SetServiceToReturn(mockWindowsFormsEditorService);
			expectedNewValue = "NewValue";
			mockWindowsFormsEditorService.SetNewValue(expectedNewValue);
						
			newValue = editor.EditValue(mockServiceProvider, "Test");
			
			expectedControlType = mockWindowsFormsEditorService.GetDropDownControlTypeUsed();
		}
		public void SetUpFixture()
		{
			editor = new GuidEditor();
			
			// Edit the guid value.
			mockServiceProvider = new MockServiceProvider();
			mockWindowsFormsEditorService = new MockWindowsFormsEditorService();
			mockServiceProvider.SetServiceToReturn(mockWindowsFormsEditorService);
			expectedNewGuid = Guid.NewGuid().ToString().ToUpperInvariant();
			mockWindowsFormsEditorService.SetNewValue(expectedNewGuid);
			
			Guid guid = Guid.NewGuid();
			
			newValue = editor.EditValue(mockServiceProvider, guid.ToString().ToUpperInvariant());
			
			expectedGuidControlType = mockWindowsFormsEditorService.GetDropDownControlTypeUsed();
		}
		public void SameGuidValueReturnedIfNotEdited()
		{
			mockWindowsFormsEditorService = new MockWindowsFormsEditorService();
			mockServiceProvider.SetServiceToReturn(mockWindowsFormsEditorService);
			
			string oldValue = Guid.NewGuid().ToString().ToUpperInvariant();
			string newValue = (string)editor.EditValue(null, mockServiceProvider, oldValue);
			Assert.AreEqual(oldValue, newValue);
		}
		public void SameValueReturnedIfNotEdited()
		{
			mockWindowsFormsEditorService = new MockWindowsFormsEditorService();
			mockServiceProvider.SetServiceToReturn(mockWindowsFormsEditorService);
			
			string oldValue = "test";
			string newValue = (string)editor.EditValue(null, mockServiceProvider, oldValue);
			Assert.AreEqual(oldValue, newValue);
		}