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