/** * @covers WPSEO_Frontend::remove_reply_to_com */ public function test_remove_reply_to_com() { $link = '<a href="http://yoast.com/post?replytocom=123#respond">Reply to Comment</a>'; $expected = '<a href="#comment-123">Reply to Comment</a>'; $this->assertEquals($expected, self::$class_instance->remove_reply_to_com($link)); }