Esempio n. 1
0
        public void GetDoubleRowCylinRollerBrgTest()
        {
            var con = new DoubleRowCylinRollerBrgsController();

            var result = con.GetDoubleRowCylinRollerBrg("NN3005").GetAwaiter().GetResult() 
                as OkNegotiatedContentResult<DoubleRowCylinRollerBrg>;

            Assert.IsNotNull(result);
        }
Esempio n. 2
0
        public void GetDoubleRowCylinRollerBearingsTest()
        {
            var con = new DoubleRowCylinRollerBrgsController();
            int expected = 1;

            var result = con.GetDoubleRowCylinRollerBearings();

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