PhpOffice\PhpPresentation\Tests\Shape\Comment\AuthorTest::testGetSetName PHP 메소드

testGetSetName() 공개 메소드

public testGetSetName ( )
    public function testGetSetName()
    {
        $expectedVal = 'AABBCCDD';
        $object = new Author();
        $this->assertNull($object->getName());
        $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Comment\\Author', $object->setName($expectedVal));
        $this->assertEquals($expectedVal, $object->getName());
    }