Esempio n. 1
0
 public function testSetClassNameWithRootNamespace()
 {
     $this->class->setClassName('\\MyClass');
     $this->assertSame('MyClass', $this->class->getClassName());
     $this->assertSame('MyClass', $this->class->getShortClassName());
     $this->assertSame('', $this->class->getNamespaceName());
 }