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

            IHttpActionResult result = con.GetHeliCylinGear("1").GetAwaiter().GetResult()
                                       as OkNegotiatedContentResult <HeliCylinGear>;

            Assert.IsNotNull(result);
        }
Exemplo n.º 2
0
        public void GetHeliCylinGearsTest()
        {
            var con      = new HeliCylinGearsController();
            int expected = 2;

            var result = con.GetHeliCylinGears();

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