config->set('AutoFormat.DisplayLinkURI', true); } public function testBasicLink() { $this->assertResult( 'Don\'t go here!', 'Don\'t go here! (http://malware.example.com)' ); } public function testEmptyLink() { $this->assertResult( 'Don\'t go here!', 'Don\'t go here!' ); } public function testEmptyText() { $this->assertResult( '', ' (http://malware.example.com)' ); } } // vim: et sw=4 sts=4