public void ShouldReturnInfoEvenForExcludedMethods() { var inspector = new ReflectionConversationalMetaInfoInspector(); inspector.GetMethodInfo(Reflector.MethodInfo <Sample>(x => x.PersistentMethodExcluded())).Should().Not.Be.Null(); }
public void ShouldNotIncludeMethodNotMarked() { var inspector = new ReflectionConversationalMetaInfoInspector(); inspector.GetMethodInfo(Reflector.MethodInfo <Sample>(x => x.NoPersistentMethod())).Should().Be.Null(); }