We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0821ad commit c14a4abCopy full SHA for c14a4ab
tests/unit/DocBlock/Tags/AuthorTest.php
@@ -124,6 +124,17 @@ public function testStringRepresentationIsReturned()
124
$this->assertSame('Mike van Riel <[email protected]>', (string)$fixture);
125
}
126
127
+ /**
128
+ * @covers ::__construct
129
+ * @covers ::__toString
130
+ */
131
+ public function testStringRepresentationWithEmtpyEmail()
132
+ {
133
+ $fixture = new Author('Mike van Riel', '');
134
+
135
+ $this->assertSame('Mike van Riel', (string)$fixture);
136
+ }
137
138
/**
139
* @covers ::create
140
* @uses \phpDocumentor\Reflection\DocBlock\Tags\Author::<public>
0 commit comments