public void GetEdmType_HasSameDefinition_AsInitializedEdmType() { var complexType = new EdmComplexType("NS", "Complex"); var edmObject = new TestEdmStructuredObject(complexType); Assert.Equal(complexType, edmObject.GetEdmType().Definition); }
public void GetEdmType_AgreesWithPropertyIsNullable() { var complexType = new EdmComplexType("NS", "Complex"); var edmObject = new TestEdmStructuredObject(complexType); edmObject.IsNullable = true; Assert.True(edmObject.GetEdmType().IsNullable); }