public function CollectionTest::testConstructWithNamespaceAliases in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpdocumentor/reflection-docblock/tests/phpDocumentor/Reflection/DocBlock/Type/CollectionTest.php \phpDocumentor\Reflection\DocBlock\Type\CollectionTest::testConstructWithNamespaceAliases()
@covers phpDocumentor\Reflection\DocBlock\Type\Collection::__construct
Return value
void
File
- vendor/
phpdocumentor/ reflection-docblock/ tests/ phpDocumentor/ Reflection/ DocBlock/ Type/ CollectionTest.php, line 76
Class
- CollectionTest
- Test class for \phpDocumentor\Reflection\DocBlock\Type\Collection
Namespace
phpDocumentor\Reflection\DocBlock\TypeCode
public function testConstructWithNamespaceAliases() {
$fixture = array(
'a' => 'b',
);
$collection = new Collection(array(), new Context(null, $fixture));
$this
->assertEquals(array(
'a' => '\\b',
), $collection
->getContext()
->getNamespaceAliases());
}