Пример #1
0
        public void Index_when_category_name_is_null_returns_defaultview()
        {
            //arrange
            var controller = new SchemaController(_esdFunctionService, _dataShareSchemaImportService, _datasetSchemaService,
                                                  _dataSetSchemaColumnService, _categoryService, _systemConfigurationService);
            //act
            var result = (ViewResult)controller.Index(null);

            //assert
            Assert.AreEqual("", result.ViewName);
            //cleanup
        }