Пример #1
0
        public void GetNCSystemFunctionalOptionsTest1()
        {
            var con = new NCSystemFunctionalOptionsController();

            var result = con.GetNCSystemFunctionalOption("HNC-180XP-M3").GetAwaiter().GetResult()
                as OkNegotiatedContentResult<NCSystemFunctionalOptions>;

            Assert.IsNotNull(result);
        }
Пример #2
0
        public void GetNCSystemFunctionalOptionsTest()
        {
            var con = new NCSystemFunctionalOptionsController();
            int expected = 18;

            var result = con.GetNCSystemFunctionalOptions();

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