public async Task HandleAsync_ValidScope_ContextSuccess() { // Arrange AuthorizationHandlerContext context = CreateAuthzHandlerContext("altinn:appdeploy"); // Act await _sah.HandleAsync(context); // Assert Assert.True(context.HasSucceeded); Assert.False(context.HasFailed); }