You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: oauth2_test.rb
    path of file: ./repos/openstreetmap-website/test/system
    
    the code of the file until where you have to start completion: require "application_system_test_case"

class Oauth2Test < Applic
    
  def test_authorized_applications
    sign_in_as(create(:user))
    visit oauth_authorized_applications_path

    assert_text "OpenStreetMap Web Site"

    accept_alert do
      click_on "Revoke Access"
    end

    assert_text "You have not yet authorized any OAuth 2 applications."
  end