Beispiel #1
0
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->task = new CallbackTask(function () {
         return "hello world";
     });
 }
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->task = new ProcessCallbackTask(function () {
         return;
     });
 }
Beispiel #3
0
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->rules = new InMemoryRules();
 }
Beispiel #4
0
 /**
  * @inheritdoc
  */
 public function tearDown()
 {
     $this->manager = null;
     parent::tearDown();
 }
Beispiel #5
0
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->shell = new BashShell();
 }
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->rule = new InMemoryProfile();
 }
Beispiel #7
0
 /**
  * @inheritdoc
  */
 public function tearDown()
 {
     $this->handler = null;
     parent::tearDown();
 }
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->handler = new CallbackHandler();
 }
Beispiel #9
0
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->manager = new ProcessManager();
 }
 /**
  * @inheritdoc
  */
 public function setUp()
 {
     parent::setUp();
     $this->manager = new SynchronousManager();
 }
Beispiel #11
0
 /**
  * @inheritdoc
  */
 public function tearDown()
 {
     $this->task = null;
     parent::tearDown();
 }