public void op_ToString_whenNoCounty()
        {
            var obj = new BritishAddress
            {
                BuildingName = "Big House",
                MainStreet   = "High Street",
                PostTown     = "Bigton",
                Postcode     = "AB1 2ZZ"
            };

            var expected = "Big House{0}High Street{0}Bigton{0}AB1 2ZZ{0}".FormatWith(Environment.NewLine);
            var actual   = obj.ToString();

            Assert.Equal(expected, actual);
        }
        public void op_ToString_whenMainStreetNumber()
        {
            var obj = new BritishAddress
            {
                BuildingName      = "Big House",
                BuildingNumber    = "12",
                MainStreet        = "High Street",
                PostTown          = "Bigton",
                Postcode          = "AB1 2ZZ",
                TraditionalCounty = "Countyshire"
            };

            var expected = "Big House{0}12 High Street{0}Bigton{0}AB1 2ZZ{0}Countyshire{0}".FormatWith(Environment.NewLine);
            var actual   = obj.ToString();

            Assert.Equal(expected, actual);
        }
        public void op_ToString_whenFull()
        {
            var obj = new BritishAddress
            {
                SubBuildingName         = "Flat A",
                BuildingName            = "Big House",
                PostOfficeBox           = "PO Box 123",
                BuildingNumber          = "12",
                DependentStreet         = "Little Close",
                MainStreet              = "High Street",
                DoubleDependentLocality = "Local Village",
                DependentLocality       = "Locality",
                PostTown          = "Bigton",
                Postcode          = "AB1 2ZZ",
                TraditionalCounty = "Countyshire"
            };

            var expected = "Flat A{0}Big House{0}PO Box 123{0}12 Little Close{0}High Street{0}Local Village{0}Locality{0}Bigton{0}AB1 2ZZ{0}Countyshire{0}".FormatWith(Environment.NewLine);
            var actual   = obj.ToString();

            Assert.Equal(expected, actual);
        }
        public void op_ToString_whenNoCounty()
        {
            var obj = new BritishAddress
                          {
                              BuildingName = "Big House",
                              MainStreet = "High Street",
                              PostTown = "Bigton",
                              Postcode = "AB1 2ZZ"
                          };

            var expected = "Big House{0}High Street{0}Bigton{0}AB1 2ZZ{0}".FormatWith(Environment.NewLine);
            var actual = obj.ToString();

            Assert.Equal(expected, actual);
        }
        public void op_ToString_whenMainStreetNumber()
        {
            var obj = new BritishAddress
                          {
                              BuildingName = "Big House",
                              BuildingNumber = "12",
                              MainStreet = "High Street",
                              PostTown = "Bigton",
                              Postcode = "AB1 2ZZ",
                              TraditionalCounty = "Countyshire"
                          };

            var expected = "Big House{0}12 High Street{0}Bigton{0}AB1 2ZZ{0}Countyshire{0}".FormatWith(Environment.NewLine);
            var actual = obj.ToString();

            Assert.Equal(expected, actual);
        }
        public void op_ToString_whenFull()
        {
            var obj = new BritishAddress
                          {
                              SubBuildingName = "Flat A",
                              BuildingName = "Big House",
                              PostOfficeBox = "PO Box 123",
                              BuildingNumber = "12",
                              DependentStreet = "Little Close",
                              MainStreet = "High Street",
                              DoubleDependentLocality = "Local Village",
                              DependentLocality = "Locality",
                              PostTown = "Bigton",
                              Postcode = "AB1 2ZZ",
                              TraditionalCounty = "Countyshire"
                          };

            var expected = "Flat A{0}Big House{0}PO Box 123{0}12 Little Close{0}High Street{0}Local Village{0}Locality{0}Bigton{0}AB1 2ZZ{0}Countyshire{0}".FormatWith(Environment.NewLine);
            var actual = obj.ToString();

            Assert.Equal(expected, actual);
        }