示例#1
0
 public function testget_summary_text()
 {
     error_reporting(E_ERROR | E_PARSE);
     $vcal = new vCal();
     //test without setting name
     $this->assertEquals(null, $vcal->get_summary_text());
     //test with name set
     $vcal->name = 'test';
     $this->assertEquals('', $vcal->get_summary_text());
 }