public void GetAll_ReturnAll_NameAndCost()
        {
            Packer testPacker = new Packer("pillow", "11");

            List <Packer> result = Packer.GetAll();

            CollectionAssert.AreEqual(Packer.ListItems, result);
        }
        public void DisplayPackerList_ShowsAllList_ListsOfItems()
        {
            Packer        newPacker01 = new Packer("sunscream", 5, true, false);
            Packer        newPacker02 = new Packer("Towel", 20, false, false);
            List <Packer> newList     = new List <Packer> {
                newPacker01, newPacker02
            };
            List <Packer> result = Packer.GetAll();

            CollectionAssert.AreEqual(newList, result);
        }
        public ActionResult Index()
        {
            List <Packer> allPackers = Packer.GetAll();

            return(View(allPackers));
        }