/** * Verifies the correct behavior of getVersion() * * @return void */ public function testGetDefaultVersion() { $utils = new CoreUtils(); $this->setExpectedException('\\RuntimeException'); $utils->getVersion(__DIR__ . '/../fixtures/invalid_composer.json'); }