Beispiel #1
0
 public function testAddPolygonWithDefaultColor()
 {
     $object = new TestAsset\BarcodeTest();
     $points = array();
     $color = 123456;
     $object->setForeColor($color);
     $filled = false;
     $instructions = array('type' => 'polygon', 'points' => $points, 'color' => $color, 'filled' => $filled);
     $object->addPolygon($points, null, $filled);
     $this->assertSame(array($instructions), $object->getInstructions());
 }