|
@@ 32-38 (lines=7) @@
|
| 29 |
|
} |
| 30 |
|
|
| 31 |
|
|
| 32 |
|
public function testIsdir() |
| 33 |
|
{ |
| 34 |
|
$this->mock->expects( $this->once() )->method( 'directories' ) |
| 35 |
|
->will( $this->returnValue( array( 't', 'test', 'es' ) ) ); |
| 36 |
|
|
| 37 |
|
$this->assertTrue( $this->object->isdir( 'test' ) ); |
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
|
| 41 |
|
public function testIsdirFalse() |
|
@@ 41-47 (lines=7) @@
|
| 38 |
|
} |
| 39 |
|
|
| 40 |
|
|
| 41 |
|
public function testIsdirFalse() |
| 42 |
|
{ |
| 43 |
|
$this->mock->expects( $this->once() )->method( 'directories' ) |
| 44 |
|
->will( $this->returnValue( array( 't', 'es' ) ) ); |
| 45 |
|
|
| 46 |
|
$this->assertFalse( $this->object->isdir( 'test' ) ); |
| 47 |
|
} |
| 48 |
|
|
| 49 |
|
|
| 50 |
|
public function testMkdir() |