Example #1
0
        public void GetAllActiveDevicesWithPagination_Success()
        {
            //Arrange
            _deviceController.ControllerContext.Request.Properties["UserTenantId"] = GetValidUserDomain().TenantId;

            // Act
            IHttpActionResult actionResult = _deviceController.GetActiveDevices(1, 1);

            // Assert
            Assert.IsNotNull(actionResult);
        }