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