public function test_get_hook_suffix_returns_global_value()
 {
     global $hook_suffix;
     $hook_suffix = 'expected hook suffix';
     $actual = $this->facade->get_hook_suffix();
     $this->assertEquals($hook_suffix, $actual);
 }
 /**
  * Display a deprecation notice if the current implementation type in OAuth
  *
  * @since 1.0.0
  */
 public function activate_notice()
 {
     $options = $this->get_launchkey_options();
     $hook_suffix = $this->wp_facade->get_hook_suffix();
     // If we are on a relevant page to the plugin and it's not configured, show the activate banner
     if (in_array($hook_suffix, array('plugins.php', 'users.php', 'profile.php')) && (LaunchKey_WP_Implementation_Type::SSO === $options[LaunchKey_WP_Options::OPTION_IMPLEMENTATION_TYPE] && empty($options[LaunchKey_WP_Options::OPTION_SSO_ENTITY_ID]) || LaunchKey_WP_Implementation_Type::SSO !== $options[LaunchKey_WP_Options::OPTION_IMPLEMENTATION_TYPE] && empty($options[LaunchKey_WP_Options::OPTION_SECRET_KEY]))) {
         $this->render_template('admin/activate-plugin', array('settings_url' => $this->wp_facade->admin_url('options-general.php?page=launchkey-settings'), 'icon_url' => $this->wp_facade->plugins_url('/public/launchkey-logo-white.png', dirname(__FILE__))));
     }
 }