CHAOS.Portal.Client.Standard.Test.Extensions.FormatTypeExtensionTest.ShouldGetFormatTypes C# (CSharp) Method

ShouldGetFormatTypes() private method

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

			EndTest();
		}
	}
FormatTypeExtensionTest