public void Equality_False_IfOtherNull() { Type type = typeof(Customer); var properties = new EdmProperty[0]; var edmComplexType1 = new EdmComplexType(type, properties); Assert.False(edmComplexType1.Equals(null)); }
public void Equality_True_IfTypeAreSame() { Type type = typeof(Customer); var properties = new EdmProperty[0]; var edmComplexType1 = new EdmComplexType(type, properties); var edmComplexType2 = new EdmComplexType(type, properties); Assert.True(edmComplexType1.Equals(edmComplexType2)); }
public void Equality_True_IfReferenceIsSame() { var type = typeof(Customer); var properties = new EdmProperty[0]; var edmComplexType1 = new EdmComplexType(type, properties); var edmComplexType2 = edmComplexType1; Assert.True(edmComplexType1.Equals(edmComplexType2)); }