Beispiel #1
0
        public void GetAlignBallBrgTest()
        {
            var controller = new AlignBallBrgsController();

            var result = controller.GetAlignBallBrg("1204").GetAwaiter().GetResult()
                         as OkNegotiatedContentResult <AlignBallBrg>;

            Assert.IsNotNull(result);
        }
Beispiel #2
0
        public void GetAlignBallBearingsTest()
        {
            //arrange
            var controller = new AlignBallBrgsController();
            int count      = 11;
            //acr
            var result = controller.GetAlignBallBearings();

            //assert
            Assert.IsNotNull(result);
            Assert.AreEqual(count, result.Count());
        }