|
|
- using Microsoft.VisualStudio.TestTools.UnitTesting;
- using Sevomin.WebFrontend.Controllers;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Web.Mvc;
-
- namespace Sevomin.Tests.Controllers.Job
- {
- [TestClass]
- public class NewJob
- {
- [TestMethod]
- public void Returns_View_NewJob_JobController()
- {
- // Arrange
- JobController cut = new JobController();
- // Act
- var result = cut.NewJob() as ViewResult;
- // Assert
- Assert.IsNotNull(result);
- Assert.AreEqual(string.Empty, result.ViewName);
- }
-
- }
- }
|