Example #1
0
 /**
  * @covers ::getSoftDelete
  * @covers ::setSoftDelete
  */
 public function testSoftDelete()
 {
     $config = new Config(__NAMESPACE__ . '\\TestModel\\City');
     $this->assertEquals(false, $config->getSoftDelete());
     $config->setSoftDelete(true);
     $this->assertEquals(true, $config->getSoftDelete());
 }
Example #2
0
 public static function initialize(Config $repo)
 {
     $repo->setSoftDelete(true);
 }