示例#1
0
 public function testIsEmpty()
 {
     $r = new LocalRecord();
     $this->assertTrue($r->isEmpty());
     $r->addCopyRecord(new CopyRecord());
     $this->assertTrue($r->isEmpty());
     $r->addCopyRecord(new CopyRecord(array(new Field('200@', 11))));
     $this->assertFalse($r->isEmpty());
 }