public void AreAllRowsSavedTest_PassNoAddresses_ShouldReturnTrue()
        {
            EditContactViewModel vm = new EditContactViewModel(null, null);

            var result = vm.AreAllRowsSaved();

            Assert.IsTrue(result);
        }
        public void AreAllRowsSavedTest_Pass2ValidAddresses_ShouldReturnTrue()
        {
            EditContactViewModel vm = new EditContactViewModel(null, null)
            {
                Addresses = new ObservableCollection <Address>()
                {
                    new Address {
                        Street = "a", City = "s", State = "d", PostalCode = "d"
                    },
                    new Address {
                        Street = "a", City = "s", State = "d", PostalCode = "d"
                    },
                }
            };

            var result = vm.AreAllRowsSaved();

            Assert.IsTrue(result);
        }