public void CheckImportDataFromFile_ForEmptyFile_ReturnActionResult() { // Arrange InitializeImportData(); var controller = new GroupController(); // Act var result = controller.CheckImportDataFromFile(string.Empty, string.Empty, string.Empty, StringTen, Text, string.Empty, string.Empty, string.Empty) as JsonResult; // Assert result.ShouldSatisfyAllConditions( () => result.ShouldNotBeNull(), () => result.Data.ShouldNotBeNull()); }