setName() public method

sets name
public setName ( string $name ) : void
$name string name to set
return void
Ejemplo n.º 1
0
 /**
  * Test for Theme::getName
  *
  * @return void
  */
 public function testGetSetName()
 {
     $this->assertEmpty($this->object->getName(), 'Name is empty by default');
     $this->object->setName('New Theme Name');
     $this->assertEquals('New Theme Name', $this->object->getName());
 }