Example #1
0
 /**
  * @covers phpDocumentor\Reflection\DocBlock\Type\Collection::__construct
  *
  * @return void
  */
 public function testConstructWithNamespaceAliases()
 {
     $fixture = array('a' => 'b');
     $collection = new Collection(array(), new Context(null, $fixture));
     $this->assertEquals(array('a' => '\\b'), $collection->getContext()->getNamespaceAliases());
 }