public void CreateForeignKeyConstraint() { _serializedObjectIDStoragePropertyDefinition.CreateForeignKeyConstraint( cols => { throw new Exception("Should not be called."); }, new EntityNameDefinition("entityschema", "entityname"), ObjectIDStoragePropertyDefinitionObjectMother.ObjectIDProperty); }