public void UpsertStructureSet_WhenCalledTwice_UpserterIsCalledOnceNotTwice()
        {
            var upserterFake = new Mock<IDbSchemaUpserter>();
			var dbClientFake = new Mock<IDbClient>();

            var manager = new DbSchemaManager(upserterFake.Object);
            manager.UpsertStructureSet(_structureSchema, dbClientFake.Object);
			manager.UpsertStructureSet(_structureSchema, dbClientFake.Object);

            upserterFake.Verify(f => f.Upsert(_structureSchema, dbClientFake.Object), Times.Once());
        }
        public void UpsertStructureSet_WhenNeverCalled_UpserterIsCalledOnce()
        {
            var upserterFake = new Mock<IDbSchemaUpserter>();
			var dbClientFake = new Mock<IDbClient>();

            var manager = new DbSchemaManager(upserterFake.Object);
            manager.UpsertStructureSet(_structureSchema, dbClientFake.Object);

            upserterFake.Verify(f => f.Upsert(_structureSchema, It.IsAny<Func<IDbClient>>()), Times.Once());
        }