示例#1
0
文件: ContainerTest.php 项目: fwk/di
 public function testProperties()
 {
     $this->object->setProperty('testPropOne', 'one');
     $this->object->setProperty('testPropTwo', 'two');
     $this->object->setProperty('testPhrase', ':testPropOne+:testPropOne=:testPropTwo');
     $this->assertEquals('one+one=two', $this->object->getProperty('testPhrase'));
 }