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

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

            Assert.IsNotNull(result);
        }
Exemplo 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());
            
        }