Exemple #1
0
 public static async Task ShouldNotAuthorize <TResult>(
     this ITestFixture _,
     IRequest <TResult> request)
 {
     await Should.ThrowAsync <UnauthorizedException>(async() => await _.Send(request));
 }