Example #1
0
 public function testCanBeEmpty()
 {
     $this->assertFalse($this->_model->canBeEmpty());
     $this->_model->setData(array('can_be_empty' => true), 'scope');
     $this->assertTrue($this->_model->canBeEmpty());
 }