99 * @license http://www.opensource.org/licenses/mit-license.php MIT
1010 * @link http://phpdoc.org
1111 */
12-
1312namespace phpDocumentor \Reflection \DocBlock \Tags ;
1413
1514use Mockery as m ;
15+ use PHPUnit \Framework \TestCase ;
1616
1717/**
1818 * @coversDefaultClass \phpDocumentor\Reflection\DocBlock\Tags\Author
1919 * @covers ::<private>
2020 */
21- class AuthorTest extends \PHPUnit_Framework_TestCase
21+ class AuthorTest extends TestCase
2222{
23+
2324 /**
2425 * @uses \phpDocumentor\Reflection\DocBlock\Tags\Author::__construct
2526 * @covers \phpDocumentor\Reflection\DocBlock\Tags\BaseTag::getName
@@ -121,7 +122,7 @@ public function testStringRepresentationIsReturned()
121122 {
122123 $ fixture = new Author ('Mike van Riel ' , 'mike@phpdoc.org ' );
123124
124- $ this ->assertSame ('Mike van Riel <mike@phpdoc.org> ' , (string )$ fixture );
125+ $ this ->assertSame ('Mike van Riel <mike@phpdoc.org> ' , (string ) $ fixture );
125126 }
126127
127128 /**
@@ -132,7 +133,7 @@ public function testStringRepresentationWithEmtpyEmail()
132133 {
133134 $ fixture = new Author ('Mike van Riel ' , '' );
134135
135- $ this ->assertSame ('Mike van Riel ' , (string )$ fixture );
136+ $ this ->assertSame ('Mike van Riel ' , (string ) $ fixture );
136137 }
137138
138139 /**
@@ -143,7 +144,7 @@ public function testFactoryMethod()
143144 {
144145 $ fixture = Author::create ('Mike van Riel <mike@phpdoc.org> ' );
145146
146- $ this ->assertSame ('Mike van Riel <mike@phpdoc.org> ' , (string )$ fixture );
147+ $ this ->assertSame ('Mike van Riel <mike@phpdoc.org> ' , (string ) $ fixture );
147148 $ this ->assertSame ('Mike van Riel ' , $ fixture ->getAuthorName ());
148149 $ this ->assertSame ('mike@phpdoc.org ' , $ fixture ->getEmail ());
149150 }
@@ -156,4 +157,5 @@ public function testFactoryMethodReturnsNullIfItCouldNotReadBody()
156157 {
157158 $ this ->assertNull (Author::create ('dfgr< ' ));
158159 }
160+
159161}
0 commit comments