public void HasSpecRefs() { AndSpecification and = new AndSpecification( new EqualSpecification("qwe", SpecificationValue.Single(1)), new ReferenceSpecification("qwe")); Assert.False(and.HasValueRefs()); Assert.True(and.HasSpecificationRefs()); }