You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

28 lines
698 B

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);
}
}
}