public function test_getPath_InvalidPartOfPath() { $p = new Package('package/name'); $this->assertNull($p->getPath(-1)); $this->assertNull($p->getPath(2)); }