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 5d82f79 commit 316ba16Copy full SHA for 316ba16
tests/unit/Types/BooleanTest.php
@@ -0,0 +1,33 @@
1
+<?php
2
+
3
+declare(strict_types=1);
4
5
+/**
6
+ * This file is part of phpDocumentor.
7
+ *
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
11
+ * @link http://phpdoc.org
12
+ */
13
14
+namespace phpDocumentor\Reflection\Types;
15
16
+use phpDocumentor\Reflection\Types\Boolean;
17
+use PHPUnit\Framework\TestCase;
18
19
20
+ * @coversDefaultClass \phpDocumentor\Reflection\Types\Boolean
21
22
+final class BooleanTest extends TestCase
23
+{
24
+ /**
25
+ * @covers ::__toString
26
27
+ public function testBooleanStringifyCorrectly() : void
28
+ {
29
+ $type = new Boolean();
30
31
+ $this->assertSame('bool', (string) $type);
32
+ }
33
+}
0 commit comments