public function testMakeWithHrefAndAttributes()
 {
     $string = Factory::atUser('Thanks very much @JohnDoe', '/user/', ['target' => '_blank']);
     $expected = 'Thanks very much ';
     $expected .= '<a href="/user/johndoe"';
     $expected .= ' target="_blank">@JohnDoe</a>';
     $this->assertEquals($expected, $string);
 }
<?php

require "../vendor/autoload.php";
use SSD\RegexKit\Factory;
echo Factory::atUser('Hey @JohnDoe, thanks for sorting this out!', '/user/', ['target' => '_blank', 'title' => 'View user profile']);