FileMaster
Search
Toggle Dark Mode
Home
/
.
/
wp-content
/
plugins
/
ameliabooking
/
vendor
/
eluceo
/
ical
/
tests
/
Eluceo
/
iCal
/
Property
Edit File: ArrayValueTest.php
<?php namespace Eluceo\iCal\Property; class ArrayValueTest extends \PHPUnit_Framework_TestCase { /** * @dataProvider arrayValuesProvider */ public function testArrayValue($values, $expectedOutput) { $arrayValue = new ArrayValue($values); $this->assertEquals($expectedOutput, $arrayValue->getEscapedValue()); } public function arrayValuesProvider() { return array( array(array(), ''), array(array('Lorem'), 'Lorem'), array(array('Lorem', 'Ipsum'), 'Lorem,Ipsum'), array(array('Lorem', '"doublequotes"'), 'Lorem,\"doublequotes\"'), ); } }
Save
Back