Beispiel #1
0
 /**
  * @expectedException \Sabre\VObject\ParseException
  */
 function testParseInvalidData()
 {
     $json = new Json();
     $input = array("vlist", array(array("FN", new \StdClass(), 'text', "foo")));
     $json->parse(json_encode($input), 0);
 }
Beispiel #2
0
 /**
  * @expectedException \Sabre\VObject\ParseException
  */
 function testParseInvalidData()
 {
     $json = new Json();
     $input = ["vlist", [["FN", new \StdClass(), 'text', "foo"]]];
     $json->parse(json_encode($input), 0);
 }