CHAOS.Portal.Client.Standard.Test.Extensions.IndexExtensionTest.ShouldDoFacetSearch C# (CSharp) Method

ShouldDoFacetSearch() private method

private ShouldDoFacetSearch ( ) : void
return void
		public void ShouldDoFacetSearch()
		{
			TestData(
				CallPortalWithPagedResult(c => c.Index().Search(null, "field:ObjectTypeID", null, 0, 1)),
					d =>
					{
						Assert.AreNotEqual(d.Count, 0, "No facets returned");
						Assert.IsNotNull(d[0], "No facets returned");
					});

			EndTest();
		}
	}
IndexExtensionTest