function testCommentReplyLink() { $comment_text = "Try the soup"; $post_id = $this->factory->post->create(); $comment_id = $this->factory->comment->create(array('comment_post_ID' => $post_id, 'comment_content' => $comment_text, 'comment_date' => '2015-08-21 03:24:07')); $comment = new TimberComment($comment_id); $link = $comment->reply_link('Respond'); $this->assertEquals('Respond', strip_tags($link)); }