Esempio n. 1
0
 function testBasic()
 {
     $o = new MyClass();
     $o->prop1 = "hej";
     $o->prop2 = '';
     // verify empty props are not shown
     $o->prop3 = "hallå";
     $o->setPrivProp("bah");
     // verify private props are not shown
     $this->assertEquals("prop1: hej\n" . "prop3: hallå", \Core3\Helper\Object::describePropertiesWithValues($o));
 }