public function testDefault() { $checkBoxFeature = new CheckBoxFeature(); $this->assertNull($checkBoxFeature->getDefault()); $this->assertSame($checkBoxFeature, $checkBoxFeature->setDefault(true)); $this->assertTrue($checkBoxFeature->getDefault()); }
/** * Get the default value * * @api * @return bool */ public function getDefault() { return $this->feature->getDefault(); }