public void AddedEditors_AreReturned()
		{
			Type itemType = typeof(ComplexContainersItem);
			Control editorContainer = new Control();
			IDictionary<string, Control> added = editManager.AddEditors(definitions.GetDefinition(itemType), new ComplexContainersItem(), editorContainer, CreatePrincipal("someone"));
			Assert.AreEqual(5, added.Count);
			TypeAssert.Equals<TextBox>(added["MyProperty0"]);
			TypeAssert.Equals<TextBox>(added["MyProperty1"]);
			TypeAssert.Equals<TextBox>(added["MyProperty2"]);
			TypeAssert.Equals<FreeTextArea>(added["MyProperty3"]);
			TypeAssert.Equals<CheckBox>(added["MyProperty4"]);

			WebControlAssert.Contains(typeof(FieldSet), editorContainer);
			WebControlAssert.Contains(typeof(TextBox), editorContainer);
			WebControlAssert.Contains(typeof(FreeTextArea), editorContainer);
			WebControlAssert.Contains(typeof(CheckBox), editorContainer);
		}