forked from friendica/deprecated-addons
moved deprecated communityhome, dav and yourls to the deprecated-addons repository
This commit is contained in:
parent
24444adef3
commit
31520f804d
675 changed files with 195144 additions and 0 deletions
23
dav/sabre-vobject/tests/Sabre/VObject/ParameterTest.php
Normal file
23
dav/sabre-vobject/tests/Sabre/VObject/ParameterTest.php
Normal file
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
namespace Sabre\VObject;
|
||||
|
||||
class ParameterTest extends \PHPUnit_Framework_TestCase {
|
||||
|
||||
function testSetup() {
|
||||
|
||||
$param = new Parameter('name','value');
|
||||
$this->assertEquals('NAME',$param->name);
|
||||
$this->assertEquals('value',$param->value);
|
||||
|
||||
}
|
||||
|
||||
function testCastToString() {
|
||||
|
||||
$param = new Parameter('name','value');
|
||||
$this->assertEquals('value',$param->__toString());
|
||||
$this->assertEquals('value',(string)$param);
|
||||
|
||||
}
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue