public void ValidationShouldFailIfAConstraintOnANonExistentReferencedPropertyIsFound() { this.ValidateReferentialConstraintWithExpectedErrors( @"<ReferentialConstraint Property=""ForeignKeyId1"" ReferencedProperty=""NonExistent"" />", EdmErrorCode.BadUnresolvedProperty, ErrorStrings.Bad_UnresolvedProperty("NonExistent")); }