public void When_document_has_current_version_Then_current_version_is_set()
        {
            // Arrange
            var document = new TestDocumentWithTwoMigrationMiddleVersion();

            // Act
            _service.DetermineVersion(document);

            // Assert
            document.Version.Should().Be("0.0.1");
        }
        public override void Serialize(BsonSerializationContext context, BsonSerializationArgs args, TDocument value)
        {
            _documentVersionService.DetermineVersion(value);

            base.Serialize(context, args, value);
        }