예제 #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);
        }