public void DialogIdAndTextEditorSpecified()
		{
			WixDialogDesignerLoaderProvider provider = new WixDialogDesignerLoaderProvider();
			provider.Designer = this;
			WixDialogDesignerGenerator generator = new WixDialogDesignerGenerator();
			WixDialogDesignerLoader loader = (WixDialogDesignerLoader)provider.CreateLoader(generator);
			Assert.IsTrue(loader is WixDialogDesignerLoader);
			Assert.AreSame(this, loader.Designer);
			Assert.AreSame(generator, loader.Generator);
		}
		public void NoDesignerSpecified()
		{
			WixDialogDesignerLoaderProvider provider = new WixDialogDesignerLoaderProvider();
			WixDialogDesignerGenerator generator = new WixDialogDesignerGenerator();
			try {
				DesignerLoader loader = provider.CreateLoader(generator);
				Assert.Fail("Expected an argument exception before this line.");
			} catch (ArgumentException ex) {
				Assert.AreEqual("designer", ex.ParamName);
			}
		}