/** * */ public function setUp() { parent::setUp(); $this->cmd = null; $this->manager = null; $this->runtime = null; }
/** * */ public function tearDown() { $path = str_replace('unix://', '', $this->tempSocketAddress()); if (file_exists($path)) { unlink($path); } parent::tearDown(); }
/** * */ public function tearDown() { $this->destroyMemoryStream(); parent::tearDown(); }
/** * */ public function tearDown() { ini_set('session.serialize_handler', 'php'); parent::tearDown(); }
/** * */ public function setUp() { $this->prophecy = $this->prophesize(Filesystem::class); $this->fs = $this->createFilesystem($this->prophecy->reveal()); parent::setUp(); }
/** * */ public function setUp() { parent::setUp(); $this->solver = null; $this->runtime = null; }
/** * @return LoopInterface|\PHPUnit_Framework_MockObject_MockObject */ public function createLoopMock() { $loop = parent::createLoopMock(); $loop->expects($this->any())->method('onTick')->will($this->returnCallback(function ($listener, $args = []) { call_user_func_array($listener, $args); })); return $loop; }
/** * */ public function tearDown() { fclose($this->fp); parent::tearDown(); }
/** * */ public function setUp() { parent::setUp(); $this->cmd = null; }