public void ShouldResolvePublicInstanceProperty() { TheResolvedMembers .ShouldContain(m => m.Name == "StubInstanceProperty") .MemberType .ShouldBe(MemberTypes.Property); }
public void ShouldFilterOutBackingAndStaticMembers() { TheResolvedMembers .ShouldNotContain(m => m.Name == "get_StubStaticProperty") .ShouldNotContain(m => m.Name == "StubStaticProperty") .ShouldNotContain(m => m.Name == "StubStaticMethod"); }
public void ShouldResolvePublicInstanceMethod() { TheResolvedMembers .ShouldContain(m => m.Name == "StubInstanceMethod") .MemberType .ShouldBe(MemberTypes.Method); }
public void ShouldResolvePublicStaticField() { TheResolvedMembers .ShouldContain(m => m.Name == "StubStaticField") .MemberType .ShouldBe(MemberTypes.Field); }