public function testLoadNoProcessorRegistered() { file_put_contents($this->dir . '/test.php', <<<PHP <?php return array( 'root' => array( 'number' => 123 ) ); PHP ); $this->setPropertyValue($this->wise, 'loader', $this->loader); $this->setExpectedException('Herrera\\Wise\\Exception\\ProcessorException', 'No processor registered to handle any resource.'); $this->wise->load('test.php', 'php', true); }