/**
  * @covers WPSEO_Twitter::twitter_description
  */
 public function test_twitter_description()
 {
     // create and go to post
     $post_id = $this->factory->post->create();
     $this->go_to(get_permalink($post_id));
     // test excerpt
     $expected = $this->metatag('description', get_the_excerpt());
     self::$class_instance->twitter_description();
     $this->expectOutput($expected);
     // test wpseo meta
     WPSEO_Meta::set_value('metadesc', 'Meta description', $post_id);
     $expected = $this->metatag('description', self::$class_instance->metadesc(false));
     self::$class_instance->twitter_description();
     $this->expectOutput($expected);
 }