1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28 |
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Tasks.TestProject
{
/// <summary>
///This is a test class for PrintTaskTest and is intended
///to contain all PrintTaskTest Unit Tests
///</summary>
[TestClass]
public class PrintTaskTest
{
/// <summary>
///Gets or sets the test context which provides
///information about and functionality for the current test run.
///</summary>
public TestContext TestContext { get; set; }
/// <summary>
///A test for Run
///</summary>
[TestMethod]
public void PrintTaskTest_RunTest()
{
var target = new PrintTask {Active = true, Id = 1, Name = "UnitTestPrintTask"};
target.Run();
}
}
} |