protected function setUp() { parent::setUp(); $this->object = new DatatypeDate(); }
/** * Sets up the fixture, for example, opens a network connection. * This method is called before a test is executed. */ protected function setUp() { parent::setUp(); $this->values = array('true' => array("1", "true", "on", "yes"), 'false' => array("0", "false", "off", "no", "")); $this->object = new DatatypeBoolean(); }