private Option <EntityId> GetEntityKey(object instance) { var key = _testFixture.GetEntityId(instance); return(key == null ? Option <EntityId> .None : key); }