public void MemberNameIsEqualReturnsFalseWhenTypeNameIsDifferent() { MemberName lhs = new MemberName("type1", "method"); MemberName rhs = new MemberName("type2", "method"); Assert.IsFalse(lhs.Equals(rhs)); }
public void MemberNameIsEqualReturnsTrueWhenNameAndTypeAreSame() { MemberName lhs = new MemberName("type", "member"); MemberName rhs = new MemberName("type", "member"); Assert.IsTrue(lhs.Equals(rhs)); }
public void MemberNameIsEqualsReturnsFalseWhenMemberNameIsNull() { MemberName lhs = new MemberName("type", "Member"); Assert.IsFalse(lhs.Equals(null)); }