PhpOffice\PhpPresentation\Tests\Shape\Comment\AuthorTest::testGetSetName PHP Method

testGetSetName() public method

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());
    }