Пример #1
0
 public function testClass()
 {
     $definition = new Definition('Namespace\\Class1');
     $this->assertSame('Namespace\\Class1', $definition->getClass());
     $definition->setClass('My\\Other\\Namespace\\MyOtherClass');
     $this->assertSame('My\\Other\\Namespace\\MyOtherClass', $definition->getClass());
 }