Extension\ConcatTest::testStaticPropertyConcatBySelfContext PHP Метод

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());
    }