mirror of
https://github.com/fleetbase/fleetbase.git
synced 2025-12-19 22:27:22 +00:00
26 lines
531 B
PHP
26 lines
531 B
PHP
<?php
|
|
|
|
namespace Fleetbase\Twilio\Tests;
|
|
|
|
use Fleetbase\Twilio\Commands\TwilioCallCommand;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
class TwilioCallCommandTest extends TestCase
|
|
{
|
|
/**
|
|
* Test the name of the command.
|
|
*/
|
|
public function testName()
|
|
{
|
|
// Arrange
|
|
$stub = $this->createMock('Fleetbase\Twilio\TwilioInterface');
|
|
$command = new TwilioCallCommand($stub);
|
|
|
|
// Act
|
|
$name = $command->getName();
|
|
|
|
// Assert
|
|
$this->assertEquals('twilio:call', $name);
|
|
}
|
|
}
|