MimeDirTest.php 403 B

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