xref: /plugin/davcal/vendor/sabre/vobject/tests/VObject/Property/BinaryTest.php (revision a1a3b6794e0e143a4a8b51d3185ce2d339be61ab)
1*a1a3b679SAndreas Boehler<?php
2*a1a3b679SAndreas Boehler
3*a1a3b679SAndreas Boehlernamespace Sabre\VObject\Property;
4*a1a3b679SAndreas Boehler
5*a1a3b679SAndreas Boehleruse Sabre\VObject;
6*a1a3b679SAndreas Boehler
7*a1a3b679SAndreas Boehlerclass BinaryTest extends \PHPUnit_Framework_TestCase {
8*a1a3b679SAndreas Boehler
9*a1a3b679SAndreas Boehler    /**
10*a1a3b679SAndreas Boehler     * @expectedException \InvalidArgumentException
11*a1a3b679SAndreas Boehler     */
12*a1a3b679SAndreas Boehler    function testMimeDir() {
13*a1a3b679SAndreas Boehler
14*a1a3b679SAndreas Boehler        $vcard = new VObject\Component\VCard();
15*a1a3b679SAndreas Boehler        $vcard->add('PHOTO', array('a','b'));
16*a1a3b679SAndreas Boehler
17*a1a3b679SAndreas Boehler    }
18*a1a3b679SAndreas Boehler
19*a1a3b679SAndreas Boehler}
20