/**
  * @covers WPSEO_Frontend::add_trailingslash
  */
 public function test_add_trailingslash()
 {
     $url = 'http://yoast.com/post';
     // test single pages
     $expected = $url;
     $this->assertEquals($expected, self::$class_instance->add_trailingslash($url, 'single'));
     // test other
     $expected = trailingslashit($url);
     $this->assertEquals($expected, self::$class_instance->add_trailingslash($url, 'other'));
 }