public void When_adding_a_headQuarter_address__Should_add_it_and_reset_previous_one()
 {
     _sutCompany.AddAddress(dummy, true);
     Assert.AreEqual(2, _sutCompany.Addresses.Count);
     Assert.IsFalse(_sutCompany.Addresses[0].IsHQ);
     Assert.IsTrue(_sutCompany.Addresses[1].IsHQ);
 }
        public void With_setting_headQuarter_flag_true__Should_set_reset_flag()
        {
            _sutCompany.AddAddress(dummy, false);

            var sutAddressId = _sutCompany.Addresses[1].Id;

            _sutCompany.UpdateAddress(sutAddressId, dummy, true);

            Assert.IsFalse(_sutCompany.Addresses[0].IsHQ);
            Assert.IsTrue(_sutCompany.Addresses[1].IsHQ);
        }