public void ValidationShouldPass(Type typeToValidate)
        {
            _typesToValidate = new[] { typeToValidate };
            var logFieldAttributeValidator = new LogFieldAttributeValidator(_serviceInterfaceMapper);

            logFieldAttributeValidator.Validate();
        }
        public void ValidationShouldFail(Type typeToValidate)
        {
            _typesToValidate = new[] { typeToValidate };
            var logFieldAttributeValidator = new LogFieldAttributeValidator(_serviceInterfaceMapper);

            Assert.Throws <ProgrammaticException>(logFieldAttributeValidator.Validate);
        }