Example #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));
 }