Ejemplo n.º 1
0
        public void ShouldReturnInfoEvenForExcludedMethods()
        {
            var inspector = new ReflectionConversationalMetaInfoInspector();

            inspector.GetMethodInfo(Reflector.MethodInfo <Sample>(x => x.PersistentMethodExcluded())).Should().Not.Be.Null();
        }
Ejemplo n.º 2
0
        public void ShouldNotIncludeMethodNotMarked()
        {
            var inspector = new ReflectionConversationalMetaInfoInspector();

            inspector.GetMethodInfo(Reflector.MethodInfo <Sample>(x => x.NoPersistentMethod())).Should().Be.Null();
        }