public void DoesAccessRuleQueryGrantAllOfTypes(bool expected, string reportType, string resourceTypes, string flags)
        {
            // Note: if alias is 'somethingInvalid', then we're expecting the test to short-circuit before even attempting to check type equality or inheritance
            // I.e. the system should never have the opportunity to evaluate the invalid alias, so the test should pass.

            StructuredQuery sq = new StructuredQuery( );

            sq.RootEntity = new ResourceEntity( )
            {
                EntityTypeId = new EntityRef(reportType)
            };

            var  types  = resourceTypes.Split(',').Select(alias => (new EntityRef(alias)).Id).ToList( );
            bool result = QueryInspector.DoesAccessRuleQueryGrantAllOfTypes(sq, types);

            Assert.That(result, Is.EqualTo(expected));
        }