Example #1
0
        public void GetAngContactBallBrgTest()
        {
            var controller = new AngContactBallBrgsController();

            var result = controller.GetAngContactBallBrg("7204A").GetAwaiter().GetResult()
                         as OkNegotiatedContentResult <AngContactBallBrg>;

            Assert.IsNotNull(result);
        }
Example #2
0
        public void GetAngContactBallBearingsTest()
        {
            var controller = new AngContactBallBrgsController();
            int expected   = 11;

            var result = controller.GetAngContactBallBearings();

            Assert.IsNotNull(result);
            Assert.AreEqual(expected, result.Count());
        }