mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-09 14:22:55 +00:00
21 lines
498 B
PHP
21 lines
498 B
PHP
<?php
|
|
|
|
class Sabre_VObject_ParameterTest extends PHPUnit_Framework_TestCase {
|
|
|
|
function testSetup() {
|
|
|
|
$param = new Sabre_VObject_Parameter('name','value');
|
|
$this->assertEquals('NAME',$param->name);
|
|
$this->assertEquals('value',$param->value);
|
|
|
|
}
|
|
|
|
function testCastToString() {
|
|
|
|
$param = new Sabre_VObject_Parameter('name','value');
|
|
$this->assertEquals('value',$param->__toString());
|
|
$this->assertEquals('value',(string)$param);
|
|
|
|
}
|
|
|
|
}
|