public void GetValidatorShouldReturnACorrectlyTypedGenericValidator([Frozen, AutofixtureServices] IServiceProvider resolver,
                                                                            ValidatorFromManifestFactory sut,
                                                                            [ManifestModel] ValidationManifest manifest)
        {
            manifest.ValidatedType = typeof(string);

            Assert.That(() => sut.GetValidator(manifest), Is.InstanceOf <Validator <string> >());
        }
 public void GetValidatorShouldThrowAneIfTheManifestIsNull(ValidatorFromManifestFactory sut)
 {
     Assert.That(() => sut.GetValidator(null), Throws.ArgumentNullException);
 }