PhpOffice\PhpPresentation\Tests\Shape\Chart\LegendTest::testOffsetY PHP 메소드

testOffsetY() 공개 메소드

public testOffsetY ( )
    public function testOffsetY()
    {
        $object = new Legend();
        $value = rand(0, 100);
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Legend', $object->setOffsetY());
        $this->assertEquals(0, $object->getOffsetY());
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Legend', $object->setOffsetY($value));
        $this->assertEquals($value, $object->getOffsetY());
    }