public void Yahoo_PlaceFinder_PlaceByMultilineAddress_ShouldConstructWithLine1()
        {
            var it = new PlaceByMultilineAddress("line 1");

            it.ShouldNotBeNull();
            it.Line1.ShouldEqual("line 1");
        }
        public void Yahoo_PlaceFinder_PlaceByMultilineAddress_ShouldConstructWithLine1()
        {
            var it = new PlaceByMultilineAddress("line 1");

            it.ShouldNotBeNull();
            it.Line1.ShouldEqual("line 1");
        }
Ejemplo n.º 3
0
        public void Yahoo_PlaceFinder_PlaceBy_ShouldPreserveLocale()
        {
            var it = new PlaceByMultilineAddress("line 1")
            {
                Locale = "locale"
            };

            it.ShouldNotBeNull();
            it.Locale.ShouldEqual("locale");
        }
Ejemplo n.º 4
0
        public void Yahoo_PlaceFinder_PlaceBy_ShouldPreserveLocale()
        {
            var it = new PlaceByMultilineAddress("line 1")
            {
                Locale = "locale"
            };

            it.ShouldNotBeNull();
            it.Locale.ShouldEqual("locale");
        }
        public void Yahoo_PlaceFinder_PlaceByMultilineAddress_ShouldAllowLinesToBeChanged_AfterConstruction()
        {
            var it = new PlaceByMultilineAddress("line 1", "line 2", "line 3")
            {
                Line1 = "other line 1",
                Line2 = "other line 2",
                Line3 = "other line 3",
            };

            it.ShouldNotBeNull();
            it.Line1.ShouldEqual("other line 1");
            it.Line2.ShouldEqual("other line 2");
            it.Line3.ShouldEqual("other line 3");
        }
        public void Yahoo_PlaceFinder_PlaceByMultilineAddress_ShouldAllowLinesToBeChanged_AfterConstruction()
        {
            var it = new PlaceByMultilineAddress("line 1", "line 2", "line 3")
            {
                Line1 = "other line 1",
                Line2 = "other line 2",
                Line3 = "other line 3",
            };

            it.ShouldNotBeNull();
            it.Line1.ShouldEqual("other line 1");
            it.Line2.ShouldEqual("other line 2");
            it.Line3.ShouldEqual("other line 3");
        }