public function testAddComponent() { $this->cache->addComponent('wrong_path'); $this->assertSame([], $this->cache->getComponents()); $this->cache->addComponent($this->file); $this->assertSame([$this->file => ['mtime' => filemtime($this->file)]], $this->cache->getComponents()); }