public void AddMultipleForeignIds()
        {
            var collection = new EntityNavigationCollection <ObjectIdIdModel>("Id");

            collection.AddForeignIds(new object[] { ObjectId.GenerateNewId(), ObjectId.GenerateNewId() });
            Assert.AreEqual(2, collection.UnloadedCount);
        }
        public void AddMultipleForeignIds()
        {
            var foreignProperty = EntityMapping.GetOrCreateDefinition(typeof(ObjectIdIdModel)).GetIdProperty();
            var collection      = new EntityNavigationCollection <ObjectIdIdModel>(foreignProperty);

            collection.AddForeignIds(new object[] { ObjectId.GenerateNewId(), ObjectId.GenerateNewId() });
            Assert.AreEqual(2, collection.UnloadedCount);
        }