Example #1
0
        public void AjaxFindLocations_ReturnsJsonList()
        {
            // Arrange
            int?   parentId = 1;
            string name     = String.Empty;
            string type     = String.Empty;

            // Act
            var jsonResult = controller.AjaxFindLocations(parentId, type, name) as JsonResult;

            // Assert
            Assert.IsNotNull(jsonResult);
        }