コード例 #1
0
 public function testIsExportable()
 {
     $this->assertTrue($this->object->isExportable());
     $this->object->isExportable(true);
     $this->assertTrue($this->object->isExportable());
     $this->object->isExportable(1);
     $this->assertTrue($this->object->isExportable());
     $this->object->isExportable('1');
     $this->assertTrue($this->object->isExportable());
     $this->object->isExportable('abc');
     $this->assertTrue($this->object->isExportable());
     $this->object->isExportable(0);
     $this->assertFalse($this->object->isExportable());
     $this->object->isExportable('');
     $this->assertFalse($this->object->isExportable());
 }