|
@@ 56-62 (lines=7) @@
|
| 53 |
|
} |
| 54 |
|
|
| 55 |
|
|
| 56 |
|
public function testMkdir() |
| 57 |
|
{ |
| 58 |
|
$this->mock->expects( $this->once() )->method( 'createDir' ) |
| 59 |
|
->will( $this->returnValue( true ) ); |
| 60 |
|
|
| 61 |
|
$this->object->mkdir( 'test' ); |
| 62 |
|
} |
| 63 |
|
|
| 64 |
|
|
| 65 |
|
public function testMkdirException() |
|
@@ 65-72 (lines=8) @@
|
| 62 |
|
} |
| 63 |
|
|
| 64 |
|
|
| 65 |
|
public function testMkdirException() |
| 66 |
|
{ |
| 67 |
|
$this->mock->expects( $this->once() )->method( 'createDir' ) |
| 68 |
|
->will( $this->returnValue( false ) ); |
| 69 |
|
|
| 70 |
|
$this->setExpectedException( '\Aimeos\MW\Filesystem\Exception' ); |
| 71 |
|
$this->object->mkdir( 'test' ); |
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
|
| 75 |
|
public function testRmdir() |