public void TestConstructor_AddressNameDelegate()
        {
            Func <AddressDTO, object> d = (a) => "hello world";
            var validator = new AddressDTOValidator(d);

            Assert.AreEqual(d(null), validator.AddressNameDelegate(null));
        }
        public void TestDefaultConstructor()
        {
            var validator = new AddressDTOValidator();

            Assert.IsNotNull(validator.AddressNameDelegate);
            Assert.AreEqual(AddressDTOValidator.C_STREET_ADDRESS, validator.AddressNameDelegate(null));
        }