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