1<?php 2 3namespace Sabre\VObject\Parser; 4 5/** 6 * Note that most MimeDir related tests can actually be found in the ReaderTest 7 * class one level up. 8 */ 9class MimeDirTest extends \PHPUnit_Framework_TestCase { 10 11 /** 12 * @expectedException \Sabre\VObject\ParseException 13 */ 14 function testParseError() { 15 16 $mimeDir = new MimeDir(); 17 $mimeDir->parse(fopen(__FILE__,'a')); 18 19 } 20 21} 22