Files
Fleetbase-Mirror-Repo/tests/TwilioCallCommandTest.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);
}
}