public void Then_migration_have_version()
        {
            // Arrange Act
            var migration = new TestDocumentWithOneMigration_0_0_1();

            // Assert
            migration.Version.Should().Be("0.0.1");
        }
        public void Then_migration_should_be_created()
        {
            // Arrange Act
            var migration = new TestDocumentWithOneMigration_0_0_1();

            // Assert
            migration.Should().BeOfType <TestDocumentWithOneMigration_0_0_1>();
        }
        public void Then_migration_has_type_testClass()
        {
            // Arrange Act
            var migration = new TestDocumentWithOneMigration_0_0_1();

            // Assert
            migration.Type.Should().Be(typeof(TestDocumentWithOneMigration));
        }
        public void When_migrating_up_Then_document_changes()
        {
            // Arrange
            var migration = new TestDocumentWithOneMigration_0_0_1();
            var document  = new BsonDocument {
                { "Dors", 3 }
            };

            // Act
            migration.Up(document);

            // Assert
            document.Should().BeEquivalentTo(new BsonDocument {
                { "Doors", 3 }
            });
        }