public void Create()
        {
            // Arrange
            BeanBagsController controller = new BeanBagsController();

            // Act
            ViewResult result = controller.Create() as ViewResult;

            // Assert
            Assert.IsNotNull(result);
        }
        public void BeanBagTypesMenu()
        {
            // Arrange
            BeanBagsController controller = new BeanBagsController();

            // Act
            PartialViewResult result = controller.BeanBagTypesMenu() as PartialViewResult;

            // Assert
            Assert.IsNotNull(result);
        }
        public void Browse()
        {
            string beanBagType = "Device";

            // Arrange
            BeanBagsController controller = new BeanBagsController();

            // Act
            ViewResult result = controller.Browse(beanBagType) as ViewResult;

            // Assert
            Assert.IsNotNull(result);
        }
        public void Delete()
        {
            createTestObject();

            // Arrange
            BeanBagsController controller = new BeanBagsController();

            // Act
            ViewResult result = controller.Delete(beanBag.id) as ViewResult;

            // Assert
            Assert.IsNotNull(result);

            deleteTestObject(beanBag.id);
        }