for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace JhHubTest;
use JhHub\Module;
/**
* Class ModuleTest
* @package JhHubTest
* @author Aydin Hassan <[email protected]>
*/
class ModuleTest extends \PHPUnit_Framework_TestCase
{
public function testGetConfig()
$module = new Module();
$this->assertInternalType('array', $module->getConfig());
$this->assertSame($module->getConfig(), unserialize(serialize($module->getConfig())), 'Config is serializable');
}
public function testGetAutoloaderConfig()
$module = new Module;
$this->assertInternalType('array', $module->getAutoloaderConfig());