/** * These are the values set when no parameters are given into the * contructor * * @depends testInterface * @return null */ public function testDefaultZeroFillDisplayWidthAutoIncrement() { $this->assertNull($this->type->getDisplayWidth()); $this->assertFalse($this->type->isZeroFill()); $this->assertFalse($this->type->isUnsigned()); $this->assertFalse($this->type->isAutoIncrement()); }
/** * @return null */ public function testIsEnableDisableZeroFill() { $this->assertFalse($this->type->isZeroFill()); $this->assertSame($this->type, $this->type->enableZeroFill()); $this->assertTrue($this->type->isZeroFill()); $this->assertSame($this->type, $this->type->disableZeroFill()); $this->assertFalse($this->type->isZeroFill()); }