for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* this file is part of magerun
*
* @author Tom Klingenberg <https://github.com/ktomk>
*/
namespace N98\Magento;
class TestApplicationTest extends \PHPUnit_Framework_TestCase
{
/**
* @test
public function creation()
$application = new TestApplication();
$this->assertInstanceOf(TestApplication::class, $application);
}
public function magentoTestRoot()
$actual = $application->getTestMagentoRoot();
$this->assertInternalType('string', $actual);
$this->assertGreaterThan(10, strlen($actual));
$this->assertTrue(is_dir($actual));
public function getApplication()
$actual = $application->getApplication();
$this->assertInstanceOf(Application::class, $actual);