Exemplo n.º 1
0
 public function testRenderingFunction()
 {
     $object = new MemoryDrawing();
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\MemoryDrawing', $object->setRenderingFunction());
     $this->assertEquals(MemoryDrawing::RENDERING_DEFAULT, $object->getRenderingFunction());
     $this->assertInstanceOf('PhpOffice\\PhpPowerpoint\\Shape\\MemoryDrawing', $object->setRenderingFunction(MemoryDrawing::RENDERING_JPEG));
     $this->assertEquals(MemoryDrawing::RENDERING_JPEG, $object->getRenderingFunction());
 }