Example #1
0
 public function Test_of__getCombinedAttributesWhereThisAttributeIsUsed()
 {
     $User = new AkTestUser();
     $User->addCombinedAttributeConfiguration('name', "%s %s", 'first_name', 'last_name');
     $User->addCombinedAttributeConfiguration('another_name', "Ms/Mr. %s", 'last_name');
     $this->assertEqual($User->_getCombinedAttributesWhereThisAttributeIsUsed('last_name'), array('name', 'another_name'));
 }