|
@@ 75-81 (lines=7) @@
|
| 72 |
|
} |
| 73 |
|
|
| 74 |
|
|
| 75 |
|
public function testRmdir() |
| 76 |
|
{ |
| 77 |
|
$this->mock->expects( $this->once() )->method( 'deleteDir' ) |
| 78 |
|
->will( $this->returnValue( true ) ); |
| 79 |
|
|
| 80 |
|
$this->object->rmdir( 'test' ); |
| 81 |
|
} |
| 82 |
|
|
| 83 |
|
|
| 84 |
|
public function testRmdirException() |
|
@@ 84-91 (lines=8) @@
|
| 81 |
|
} |
| 82 |
|
|
| 83 |
|
|
| 84 |
|
public function testRmdirException() |
| 85 |
|
{ |
| 86 |
|
$this->mock->expects( $this->once() )->method( 'deleteDir' ) |
| 87 |
|
->will( $this->returnValue( false ) ); |
| 88 |
|
|
| 89 |
|
$this->setExpectedException( '\Aimeos\MW\Filesystem\Exception' ); |
| 90 |
|
$this->object->rmdir( 'test' ); |
| 91 |
|
} |
| 92 |
|
|
| 93 |
|
|
| 94 |
|
public function testScan() |