/** * Tests that {@link PHP_Depend_Metrics_Hierarchy_Analyzer::getNodeMetrics()} * returns an empty <b>array</b> for an unknown node uuid. * * @return void * @covers PHP_Depend_Metrics_Hierarchy_Analyzer * @group pdepend * @group pdepend::metrics * @group pdepend::metrics::hierarchy * @group unittest */ public function testGetNodeMetricsForUnknownUUID() { $class = new PHP_Depend_Code_Class('PDepend'); $analyzer = new PHP_Depend_Metrics_Hierarchy_Analyzer(); $this->assertSame(array(), $analyzer->getNodeMetrics($class)); }