public function testFriendlyTitleWithSpecialCharactersAndEscaping()
{
$this->specify("friendlyTitle with special characters and escaping returns incorrect text", function () {
Tag::resetInput();
$options = "Mess'd up --text-- just (to) stress /test/ ?our! " . "`little` \\clean\\ url fun.ction!?-->";
$expected = 'messd-up-text-just-to-stress-test-our-little-' . 'clean-url-function';
$actual = Tag::friendlyTitle($options);
expect($actual)->equals($expected);
});
}