public testWillReturnNameIfCastedToAString ( ) |
public function testWillReturnNameIfCastedToAString()
{
$name = 'foo';
$command = $this->createTestInstance(array(), $name);
$string = (string) $command;
$this->assertEquals($name, $string);
}