public void TestRequiredAttribute_Format2()
		{
			var type = new AddDocumentsType();

			var ackResult = type.Check();
			Assert.IsNotNull(ackResult);
			Assert.That(ackResult.Count, Is.GreaterThanOrEqualTo(0));
			var ex = ErrorReceiptCode.MissingRequiredAttribute_Format;
			var arg0 = "Folder";
			var arg1 = AddDocumentsType.AreaName;
			var obj = ackResult.FirstOrDefault(p => ((p.errorcode == ex.errorcode) && (p.Value.Contains(arg0) && (p.Value.Contains(arg1)))));
			Assert.IsNull(obj);
		}
		public void TestMissingRequiredAttribute_Format2b()
		{
			var type = new AddDocumentsType();
			type.Folder = new List<AddDocumentsTypeFolder>();
			type.Folder.Add(new AddDocumentsTypeFolder());
			type.Folder.Add(new AddDocumentsTypeFolder());

			var ackResult = type.Check();
			Assert.IsNotNull(ackResult);
			Assert.That(ackResult.Count, Is.GreaterThanOrEqualTo(1));
			var ex = ErrorReceiptCode.WrongMultiplicityOfElement_Format;
			var arg0 = "Folder";
			var arg1 = AddDocumentsType.AreaName;
			var obj = ackResult.FirstOrDefault(p => ((p.errorcode == ex.errorcode) && (p.Value.Contains(arg0) && (p.Value.Contains(arg1)))));
			EqualTo(obj, ex, arg0, arg1);
		}