public async Task SaveTwice()
        {
            var versionRepository = new VersionRepository(MongoClient);

            await versionRepository.SaveLastVersion <IntegrationTestBase>("123");

            await versionRepository.SaveLastVersion <IntegrationTestBase>("1234");

            var version = await versionRepository.GetLastVersion <IntegrationTestBase>();

            Assert.AreEqual("1234", version.Version);
        }
        public async Task LoadAndSaveTwoVersions()
        {
            var versionRepository = new VersionRepository(MongoClient);

            await versionRepository.SaveLastVersion <IntegrationTestBase>("123");

            await versionRepository.SaveLastVersion <VersionRepoTest>("456");

            var version1 = await versionRepository.GetLastVersion <IntegrationTestBase>();

            var version2 = await versionRepository.GetLastVersion <VersionRepoTest>();

            Assert.AreEqual("123", version1.Version);
            Assert.AreEqual("456", version2.Version);
        }