public function testGetFileNonexistent() { $fileNonexistent = new CM_File('foo/bar'); $params = new CM_Params(array('nonexistent' => $fileNonexistent->getPath())); $this->assertEquals($fileNonexistent, $params->getFile('nonexistent')); }