CHAOS.Portal.Client.Standard.Test.Extensions.FolderTypeExtensionTest.ShouldGetFolderTypes C# (CSharp) Method

ShouldGetFolderTypes() private method

private ShouldGetFolderTypes ( ) : void
return void
		public void ShouldGetFolderTypes()
		{
			TestData(
				CallPortalWithPagedResult(c => c.FolderType().Get()),
				d =>
				{
					Assert.AreNotEqual(d.Count, 0, "No FolderTypes returned");
					Assert.IsTrue(d.All(t => t.Name != null), "Name not set on FolderType");
				});

			EndTest();
		}
	}
FolderTypeExtensionTest