Skip to content

Commit 25fa15d

Browse files
committed
Update CommandTest.php
1 parent f2c4d81 commit 25fa15d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

tests/CommandTest.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
*/
1010
class FileStreamTest extends \PHPUnit_Framework_TestCase
1111
{
12+
/**
13+
* Simple exec
14+
*/
1215
public function testExec()
1316
{
1417
$output = Command::exec(
@@ -24,6 +27,9 @@ public function testExec()
2427
$this->assertEquals('hello world', $output);
2528
}
2629

30+
/**
31+
* Test exec exception
32+
*/
2733
public function testExecException()
2834
{
2935
$this->setExpectedException('Exception');
@@ -34,6 +40,9 @@ public function testExecException()
3440

3541
}
3642

43+
/**
44+
* Test exec empty command
45+
*/
3746
public function testExecEmptyCommand()
3847
{
3948
$this->setExpectedException('Exception');

0 commit comments

Comments
 (0)