/** * @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()); }
public static function initialize(Config $repo) { $repo->setSoftDelete(true); }