Example #1
0
 public function testName()
 {
     $b = new Behavior();
     $this->assertNull($b->getName(), 'Behavior name is null by default');
     $b->setName('foo');
     $this->assertEquals($b->getName(), 'foo', 'setName() sets the name, and getName() gets it');
 }