public void ShallRenturnWorkAddress()
        {
            var result = new AddressUseParser().FromCda("WP");

            result.Should().Be(Address.AddressUse.Work);

            result = new AddressUseParser().FromCda("DIR");
            result.Should().Be(Address.AddressUse.Work);

            result = new AddressUseParser().FromCda("PUB");
            result.Should().Be(Address.AddressUse.Work);
        }
        public void ShallRenturnHomeAddress()
        {
            var result = new AddressUseParser().FromCda("H");

            result.Should().Be(Address.AddressUse.Home);

            result = new AddressUseParser().FromCda("HP");
            result.Should().Be(Address.AddressUse.Home);

            result = new AddressUseParser().FromCda("HV");
            result.Should().Be(Address.AddressUse.Home);
        }
        public void ShallRenturnOldAddress()
        {
            var result = new AddressUseParser().FromCda("OLD");

            result.Should().Be(Address.AddressUse.Old);
        }
        public void ShallRenturnTempAddress()
        {
            var result = new AddressUseParser().FromCda("TMP");

            result.Should().Be(Address.AddressUse.Temp);
        }
        public void NotMappedUseAttributeShallRenturnNull()
        {
            var result = new AddressUseParser().FromCda("BAD");

            result.Should().BeNull();
        }
        public void NullXmlShallRenturnNull()
        {
            var result = new AddressUseParser().FromCda(null);

            result.Should().BeNull();
        }