public void removeTest2()
        {
            BoundedBag <string> b = new BoundedBag <string>("bag", 0);

            try
            {
                b.remove();
            }
            catch (BagEmptyException e) { }
            finally
            {
                Assert.AreEqual("bag", b.getName());
            }
        }
        public void insertTest2()
        {
            BoundedBag <string> b = new BoundedBag <string>("bag", 3);

            b.insert("one");
            b.insert("two");
            b.insert("one");
            try
            {
                b.insert("four");
            }
            catch (BagFullException e) { }
            finally
            {
                Assert.AreEqual("bag", b.getName());
            }
        }
        public void getNameTest()
        {
            BoundedBag <string> b = new BoundedBag <string>("bag", 3);

            Assert.AreEqual("bag", b.getName());
        }