Example #1
0
 public function testSetupObject()
 {
     $b = new Behavior();
     $b->loadFromXML(array('name' => 'foo'));
     $this->assertEquals($b->getName(), 'foo', 'setupObject() sets the Behavior name from XML attributes');
 }