示例#1
0
        public void ctr_should_return_deviceTypes()
        {
            var obj = ctr.GetDeviceTypes() as OkObjectResult;
            var res = obj?.Value as List <DeviceTypeViewModel>;

            Assert.NotNull(res);
            Assert.True(res.Count == 4);
        }