public void MustBeValidPreviousId_Null_Succeeds()
        {
            var validator = new DummyEvidenceValidatorBase(_evidenceDatastore.Object, _claimDatastore.Object, _solutionDatastore.Object, _context.Object, _logger.Object);
            var evidence  = Creator.GetEvidenceBase(prevId: null);

            validator.MustBeValidPreviousId();
            var valres = validator.Validate(evidence);

            valres.Errors.Should().BeEmpty();
        }
        public void MustBeValidPreviousId_NotGuid_ReturnsError()
        {
            var validator = new DummyEvidenceValidatorBase(_evidenceDatastore.Object, _claimDatastore.Object, _solutionDatastore.Object, _context.Object, _logger.Object);
            var evidence  = Creator.GetEvidenceBase(prevId: "not a GUID");

            validator.MustBeValidPreviousId();
            var valres = validator.Validate(evidence);

            valres.Errors.Should()
            .ContainSingle(x => x.ErrorMessage == "Invalid PreviousId")
            .And
            .HaveCount(1);
        }