public void QueryDependents_UnitTest() { ICatalogQueryOptions queryOptions = default(ICatalogQueryOptions); ExecuteMethod( () => { return((ICatalogNode)GetInstance()); }, instance => { queryOptions = CatalogQueryOptionsWrapper_UnitTests.GetInstance(); QueryDependents_PreCondition(instance, ref queryOptions); }, instance => { instance.QueryDependents(queryOptions); }, instance => { QueryDependents_PostValidate(instance, queryOptions); }); }
public void QueryParents_UnitTest() { IEnumerable <Guid> resourceTypeFilters = default(IEnumerable <Guid>); Boolean recurseToRoot = default(Boolean); ICatalogQueryOptions queryOptions = default(ICatalogQueryOptions); ExecuteMethod( () => { return((ICatalogNode)GetInstance()); }, instance => { resourceTypeFilters = default(IEnumerable <Guid>); //No Type recurseToRoot = default(Boolean); //No Constructor queryOptions = CatalogQueryOptionsWrapper_UnitTests.GetInstance(); QueryParents_PreCondition(instance, ref resourceTypeFilters, ref recurseToRoot, ref queryOptions); }, instance => { instance.QueryParents(resourceTypeFilters, recurseToRoot, queryOptions); }, instance => { QueryParents_PostValidate(instance, resourceTypeFilters, recurseToRoot, queryOptions); }); }
public void QueryChildren_UnitTest() { IEnumerable <Guid> resourceTypeFilters = default(IEnumerable <Guid>); IEnumerable <KeyValuePair <String, String> > propertyFilters = default(IEnumerable <KeyValuePair <String, String> >); Boolean recurse = default(Boolean); ICatalogQueryOptions queryOptions = default(ICatalogQueryOptions); ExecuteMethod( () => { return((ICatalogNode)GetInstance()); }, instance => { resourceTypeFilters = default(IEnumerable <Guid>); //No Type propertyFilters = default(IEnumerable <KeyValuePair <String, String> >); //No Type recurse = default(Boolean); //No Constructor queryOptions = CatalogQueryOptionsWrapper_UnitTests.GetInstance(); QueryChildren_PreCondition(instance, ref resourceTypeFilters, ref propertyFilters, ref recurse, ref queryOptions); }, instance => { instance.QueryChildren(resourceTypeFilters, propertyFilters, recurse, queryOptions); }, instance => { QueryChildren_PostValidate(instance, resourceTypeFilters, propertyFilters, recurse, queryOptions); }); }