OpenAuth.Net/OpenAuth.UnitTest/DepartmentTest.cs
2015-05-23 12:10:53 +08:00

21 lines
479 B
C#

using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using OpenAuth.Repository;
namespace OpenAuth.UnitTest
{
[TestClass]
public class DepartmentTest
{
[TestMethod]
public void TestAllDepartment()
{
OpenAuthDBContext context = new OpenAuthDBContext();
foreach (var department in context.Departments)
{
Console.WriteLine(department.FullName);
}
}
}
}