use Symfony\Component\Console\Tester\ApplicationTester;
use Exception;
use Exception;
use PHPUnit_Framework_TestCase as TestCase;
use PHPUnit_Framework_TestCase as TestCase;
@ -35,7 +36,7 @@ class MageApplicationTest extends TestCase
}
}
}
}
public function testInValidFile()
public function testInvalidFile()
{
{
try {
try {
$application = new MageApplication();
$application = new MageApplication();
@ -45,4 +46,21 @@ class MageApplicationTest extends TestCase
$this->assertEquals(sprintf('The file "%s" does not exists or is not readable.', __DIR__ . '/Resources/this-does-not-exists.yml'), $exception->getMessage());
$this->assertEquals(sprintf('The file "%s" does not exists or is not readable.', __DIR__ . '/Resources/this-does-not-exists.yml'), $exception->getMessage());