tests/unit/LinesTest.php 1 location
|
@@ 22-28 (lines=7) @@
|
| 19 |
|
/** @var Lines */ |
| 20 |
|
private $lines; |
| 21 |
|
|
| 22 |
|
public function setUp() |
| 23 |
|
{ |
| 24 |
|
mb_internal_encoding("UTF-8"); |
| 25 |
|
$this->output = new BufferDiffOutput(); |
| 26 |
|
$this->pool = Mockery::mock(Pool::class)->makePartial(); |
| 27 |
|
$this->lines = new Lines($this->output, $this->pool); |
| 28 |
|
} |
| 29 |
|
|
| 30 |
|
public function testShowDuration() |
| 31 |
|
{ |
tests/unit/TableTest.php 1 location
|
@@ 24-30 (lines=7) @@
|
| 21 |
|
/** @var Table */ |
| 22 |
|
private $table; |
| 23 |
|
|
| 24 |
|
public function setUp() |
| 25 |
|
{ |
| 26 |
|
mb_internal_encoding("UTF-8"); |
| 27 |
|
$this->output = new BufferDiffOutput(); |
| 28 |
|
$this->pool = Mockery::mock(Pool::class)->makePartial(); |
| 29 |
|
$this->table = new Table($this->output, $this->pool); |
| 30 |
|
} |
| 31 |
|
|
| 32 |
|
public function testConstructWithNonBufferedOutput() |
| 33 |
|
{ |