Exemple #1
0
 /**
  * Test can read
  */
 public function testConstruct()
 {
     $value = rand(1, 100);
     $object = new Line($value, $value, $value, $value);
     $this->assertEquals(Border::LINE_SINGLE, $object->getBorder()->getLineStyle());
     $this->assertEquals($value, $object->getOffsetX());
     $this->assertEquals($value, $object->getOffsetY());
     $this->assertEquals(0, $object->getWidth());
     $this->assertEquals(0, $object->getHeight());
     $this->assertInternalType('string', $object->getHashCode());
 }