public function test_login_url_in_context()
 {
     $this->options[LaunchKey_WP_Options::OPTION_ROCKET_KEY] = 12345;
     Phake::when($this->facade)->admin_url(Phake::anyParameters())->thenReturn('admin url');
     $this->client->launchkey_form();
     Phake::verify($this->template)->render_template('launchkey-form', Phake::capture($context));
     Phake::verify($this->facade)->_echo('Rendered [launchkey-form]');
     $this->assertArrayHasKey('login_url', $context);
     return $context['login_url'];
 }
 public function test_uses_get_site_option_when_multi_site()
 {
     $client = new LaunchKey_WP_OAuth_Client($this->facade, $this->template, true);
     $client->launchkey_form();
     Phake::verify($this->facade)->get_site_option(LaunchKey_WP_Admin::OPTION_KEY);
 }