/**
  * @covers WPSEO_Frontend::add_paging_to_title
  */
 public function test_add_paging_to_title()
 {
     $input = 'Initial title';
     // test without paged query var set
     $expected = $input;
     $this->assertEquals($input, self::$class_instance->add_paging_to_title('', '', $input));
     // test with paged set
     set_query_var('paged', 2);
     global $wp_query;
     $expected = self::$class_instance->add_to_title('', '', $input, $wp_query->query_vars['paged'] . '/' . $wp_query->max_num_pages);
     $this->assertEquals($expected, self::$class_instance->add_paging_to_title('', '', $input));
 }