def METHOD_NAME(self):
    super(TestGoogleOAuthAdminAuthenticationProvider, self).setup_method()
    auth_integration, ignore = create(
        self._db, ExternalIntegration,
        protocol=ExternalIntegration.GOOGLE_OAUTH,
        goal=ExternalIntegration.ADMIN_AUTH_GOAL
    )
    nypl_admin = create(self._db, Admin, email="admin@nypl.org")
    bpl_admin = create(self._db, Admin, email="admin@bklynlibrary.org")
    # If no domains are set, the admin must already exist in the db
    # to be considered library staff.
    google = GoogleOAuthAdminAuthenticationProvider(auth_integration, "", test_mode=True)
    assert True == google.staff_email(self._db, "admin@nypl.org")
    assert True == google.staff_email(self._db, "admin@bklynlibrary.org")
    assert False == google.staff_email(self._db, "someone@nypl.org")
    # If domains are set, the admin's domain can match one of the domains
    # if the admin doesn't exist yet.
    auth_integration.libraries += [self._default_library]
    setting = ConfigurationSetting.for_library_and_externalintegration(
        self._db, "domains", self._default_library, auth_integration)
    setting.value = json.dumps(["nypl.org"])
    assert True == google.staff_email(self._db, "admin@nypl.org")
    assert True == google.staff_email(self._db, "admin@bklynlibrary.org")
    assert True == google.staff_email(self._db, "someone@nypl.org")
    assert False == google.staff_email(self._db, "someone@bklynlibrary.org")
    setting.value = json.dumps(["nypl.org", "bklynlibrary.org"])
    assert True == google.staff_email(self._db, "admin@nypl.org")
    assert True == google.staff_email(self._db, "admin@bklynlibrary.org")
    assert True == google.staff_email(self._db, "someone@nypl.org")
    assert True == google.staff_email(self._db, "someone@bklynlibrary.org")