Skip to content

Instantly share code, notes, and snippets.

<?php
require_once 'Mockery/Loader.php';
require_once 'Hamcrest/Hamcrest.php';
$loader = new \Mockery\Loader();
$loader->register(true);
require_once 'Loader.php';
$_SERVER['environment'] = 'testing';
<?php
class PHPUnit_Extensions_PHPUI_Command {
private $arguments;
private $loader;
private $coverage_filter;
private $test_suite;
public function __construct(