class CommandProviderTest in Database Sanitize 7
Tests for EdisonLabs\MergeYaml\CommandProvider
Hierarchy
- class \EdisonLabs\MergeYaml\Unit\CommandProviderTest extends \PHPUnit\Framework\TestCase
Expanded class hierarchy of CommandProviderTest
File
- vendor/
edisonlabs/ merge-yaml/ tests/ src/ Unit/ CommandProviderTest.php, line 11
Namespace
EdisonLabs\MergeYaml\UnitView source
class CommandProviderTest extends TestCase {
/**
* Tests for EdisonLabs\MergeYaml\CommandProvider
*/
public function testCommandProvider() {
$commandProvider = new CommandProvider();
$commands = $commandProvider
->getCommands();
$this
->assertCount(1, $commands);
$this
->assertInstanceOf('EdisonLabs\\MergeYaml\\MergeYamlCommand', $commands[0]);
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CommandProviderTest:: |
public | function | Tests for EdisonLabs\MergeYaml\CommandProvider |