Exemplo n.º 1
0
 public void should_indicate_if_member_has_attributes(
     CachedMember cachedMember, MemberInfo memberInfo)
 {
     cachedMember.HasAttribute<XmlIgnoreAttribute>().ShouldBeTrue();
     cachedMember.HasAttribute<XmlArrayAttribute>().ShouldBeTrue();
 }
Exemplo n.º 2
0
 public void should_indicate_if_member_does_not_have_an_attributes(
     CachedMember cachedMember, MemberInfo memberInfo)
 {
     cachedMember.HasAttribute <XmlArrayItemAttribute>().ShouldBeFalse();
 }
Exemplo n.º 3
0
 public void should_indicate_if_member_does_not_have_an_attributes(
     CachedMember cachedMember, MemberInfo memberInfo)
 {
     cachedMember.HasAttribute<XmlArrayItemAttribute>().ShouldBeFalse();
 }
Exemplo n.º 4
0
 public void should_indicate_if_member_has_attributes(
     CachedMember cachedMember, MemberInfo memberInfo)
 {
     cachedMember.HasAttribute <XmlIgnoreAttribute>().ShouldBeTrue();
     cachedMember.HasAttribute <XmlArrayAttribute>().ShouldBeTrue();
 }