Files
EmailBill/WebApi.Test/Application/BaseApplicationTest.cs
SunCheng d052ae5197 fix
2026-02-10 17:49:19 +08:00

24 lines
516 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace WebApi.Test.Application;
/// <summary>
/// Application层测试基类
/// </summary>
/// <remarks>
/// 提供通用的测试基础设施如Mock对象、测试数据构造等
/// </remarks>
public class BaseApplicationTest : BaseTest
{
protected BaseApplicationTest()
{
// 继承BaseTest的ID生成器初始化
}
/// <summary>
/// 创建Mock Logger
/// </summary>
protected ILogger<T> CreateMockLogger<T>()
{
return Substitute.For<ILogger<T>>();
}
}