/**
  * @covers WPSEO_Frontend::get_taxonomy_title
  */
 public function test_get_taxonomy_title()
 {
     // create and go to cat archive
     $category_id = wp_create_category('Category Name');
     flush_rewrite_rules();
     $this->go_to(get_category_link($category_id));
     // test title according to format
     $expected_title = self::$class_instance->get_title_from_options('title-tax-category', (array) get_queried_object());
     $this->assertEquals($expected_title, self::$class_instance->get_taxonomy_title());
     // @todo add test for an explicit wpseo title format
     // we need an easy way to set taxonomy meta though...
 }