protected function before() { parent::before(); $this->web->factory->setSingleton($this->action->registry); $this->web->factory->setSingleton(new Menu($this->action->registry)); }
function emptyTestSuite() { $this->suite = new FindFailureSource_Empty(new TestFilter()); $this->suite->run($this->listener); $this->assertLocationIsAtLineOfSuite(0); }
function __construct(TestFilter $filter = null) { parent::__construct($filter ?: new TestFilter()); self::$constructed++; }