Esempio n. 1
0
        public void GetSrvDriverReactorTest()
        {
            var con = new SrvDriverReactorsController();

            var result = con.GetSrvDriverReactor(@"ACL-11kW").GetAwaiter().GetResult()
                as OkNegotiatedContentResult<SrvDriverReactor>;

            Assert.IsNotNull(result);
        }
Esempio n. 2
0
        public void GetSrvDriverReactorsTest()
        {
            var con = new SrvDriverReactorsController();
            int expected = 12;

            var result = con.GetSrvDriverReactors();

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