Пример #1
0
        public void TestMethod1()
        {
            //Arrange
            var expected = StatusCodes.Status200OK;

            //Act
            var iShippersBLO = new Mock <IShippersBLO>();
            ShippersController controller = new ShippersController(iShippersBLO.Object);
            var actal = controller.Get_Shippers().StatusCode;


            //Assert
            Assert.AreEqual(expected, actal);
        }