using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Business.ResourceExamineManagement; using Business.ResourceExamineManagement.Dto; using Bussiness.ApplicationTest; using Shouldly; using Volo.Abp.Identity; using Xunit; namespace Bussiness.ApplicationTest.ResourceExamineManagement { public class ResourceExamineAppService_Tests : CoreApplicationTestBase { private readonly IResourceExamineAppService _resourceExamineAppService; public ResourceExamineAppService_Tests() { _resourceExamineAppService = GetRequiredService(); } [Fact] public async Task Should_ThrowExcetion() { var testInput = new SeorderentryDto { factoryId = 10201, sorderId = 111111, tenantId = 102 }; await Assert.ThrowsAsync(async () => await _resourceExamineAppService.ReceiveResult(testInput)); } } }