Include composer dependencies in repo
This commit is contained in:
18
vendor/eluceo/ical/tests/Eluceo/iCal/PropertyBagTest.php
vendored
Normal file
18
vendor/eluceo/ical/tests/Eluceo/iCal/PropertyBagTest.php
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Eluceo\iCal;
|
||||
|
||||
class PropertyBagTest extends \PHPUnit_Framework_TestCase
|
||||
{
|
||||
/**
|
||||
* @todo Use Mocks instead of a real object!
|
||||
*/
|
||||
public function testPropertyAlreadyExistsOnAddingProperty()
|
||||
{
|
||||
$this->setExpectedException('\\Exception', "Property with name 'propName' already exists");
|
||||
|
||||
$propertyBag = new PropertyBag();
|
||||
$propertyBag->add(new Property('propName', ''));
|
||||
$propertyBag->add(new Property('propName', ''));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user