Пример #1
0
        public void addVideoNoException()
        {
            //Arrange
            IOrder order = new AddVideo();
            int    result;

            //Assert
            Assert.DoesNotThrow(() => order.ActionTaken(out result));
        }
Пример #2
0
        public void addVideoFailureTest()
        {
            // upgradeMembership
            IOrder order = new AddVideo();
            int    result;

            //Act
            order.ActionTaken(out result);

            //Assert
            Assert.AreEqual(1, result);
        }
Пример #3
0
        public void addVideoSuccessTest()
        {
            //Arrange
            IOrder order = new AddVideo();
            int    result;

            //Act
            order.ActionTaken(out result);

            //Assert
            Assert.AreEqual(1, result);
        }