public void CanGetBehaviorType() { var cache = new ElementCache(new ISpecificationElement[] { ElementFixtures.Specification1, ElementFixtures.Behavior1Specification1, ElementFixtures.Behavior2Specification1 }); Assert.IsTrue(cache.IsBehavior(ElementFixtures.Behavior1.TypeName)); Assert.IsTrue(cache.IsBehavior(ElementFixtures.Behavior2.TypeName)); Assert.IsFalse(cache.IsBehavior(ElementFixtures.Context.TypeName)); }