public testStaticPropertyConcatBySelfContext ( ) |
public function testStaticPropertyConcatBySelfContext()
{
$t = new Concat();
$this->assertSame(null, $t->getTestProperty());
$t->testConcatBySelfProperty("test");
$this->assertSame("test", $t->getTestProperty());
$t->testConcatBySelfProperty(" string");
$this->assertSame("test string", $t->getTestProperty());
}