public void When_document_has_highest_version_Then_highest_version_is_set()
        {
            // Arrange
            var document = new TestDocumentWithTwoMigrationHighestVersion();

            // Act
            _service.DetermineVersion(document);

            // Assert
            document.Version.Should().Be("0.0.2");
        }
        public void When_document_has_version_that_should_not_be_Then_throw_exception()
        {
            // Arrange
            var document = new TestDocumentWithTwoMigrationHighestVersion {
                Version = "0.0.1"
            };

            // Act// Act
            Action checkAction = () => { _service.DetermineVersion(document); };

            // Assert
            checkAction.Should().Throw <VersionViolationException>();
        }