public function add(Generic $identity)
 {
     $this->_identities[$identity->getName()] = $identity;
 }
Example #2
0
 public function testName()
 {
     $property = new Generic('TestProperty', 'TestValue');
     $this->assertEquals('TestProperty', $property->getName());
 }