public function testInitialize() { $configuration = Configuration::fromFile(dirname(__FILE__) . '/../Fixtures/config_test.yml'); $bootstrap = new Bootstrap($configuration); $this->assertInstanceOf('Skrilex\\Application\\Bootstrap', $bootstrap); return $bootstrap; }
/** * @expectedException \Skrilex\Configuration\Exception\ConfigurationFileException */ public function testInitializeWithInvalidFile() { $config = Configuration::fromFile('/tmp/foo.yml'); }