public function testParsePackagesError($packages, $exception) { $this->setExpectedException('SensioLabs\\Melody\\Exception\\ParseException', $exception); $this->parser->parseConfiguration($packages); }