public void ShouldFillComboInfoWhenLoading()
        {
            //Arrange
            Mock<IPermittingView> view = new  Mock<IPermittingView>();

            EquipmentComboVO equipment = new EquipmentComboVO()
            {
                EquipmentId = 1,
                IsPrimary = true,
                DivisionNumber = "084",
                UnitNumber = "01",
                Descriptor = "Dozer"
            };

            view.SetupProperty(v => v.EquipmentInfoItem, equipment);
            view.SetupProperty(v => v.IsPrimaryObjectSelected, false);
            view.SetupProperty(v => v.DivisionSelected, string.Empty);
            view.SetupProperty(v => v.UnitNumberSelected, string.Empty);
            view.SetupProperty(v => v.DescriptorSelected, string.Empty);
            //Act
            PermittingPresenter presenter = new PermittingPresenter(view.Object);
            presenter.LoadShoppingCartRow();

            //Assert
            Assert.IsTrue(view.Object.IsPrimaryObjectSelected);
            Assert.AreEqual<string>(view.Object.DivisionSelected, "084");
            Assert.AreEqual<string>(view.Object.UnitNumberSelected, "01");
            Assert.AreEqual<string>(view.Object.DescriptorSelected, "Dozer");
        }
        public void IsEquipmentInfoLoaded()
        {
            Mock<IPermittingView> view = new  Mock<IPermittingView>();

              EquipmentComboVO equipment = null;

              view.SetupProperty(v => v.EquipmentInfoItem, equipment);
              view.SetupProperty(v => v.IsPrimaryObjectSelected, false);
              view.SetupProperty(v => v.DivisionSelected, string.Empty);
              view.SetupProperty(v => v.UnitNumberSelected, string.Empty);
              view.SetupProperty(v => v.DescriptorSelected, string.Empty);

              PermittingPresenter presenter = new PermittingPresenter(view.Object);
              presenter.LoadShoppingCartRow();
        }