mirror of
https://github.com/dotnetcore/Util.git
synced 2026-10-19 05:31:23 +08:00
22 lines
429 B
C#
22 lines
429 B
C#
using Util.Data;
|
|
|
|
namespace Util.Tests.Infrastructure;
|
|
|
|
/// <summary>
|
|
/// 测试基类
|
|
/// </summary>
|
|
public abstract class TestBase {
|
|
/// <summary>
|
|
/// 测试初始化
|
|
/// </summary>
|
|
protected TestBase( IUnitOfWork unitOfWork ) {
|
|
UnitOfWork = unitOfWork;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 工作单元
|
|
/// </summary>
|
|
protected IUnitOfWork UnitOfWork {
|
|
get;
|
|
}
|
|
} |