Esempio n. 1
0
 /**
  * {@inheritDoc}
  *
  * @api
  */
 public function getAttributeNames()
 {
     if (null == $this->credentials) {
         return array();
     }
     return $this->credentials->getAttributeNames();
 }
 /**
  * @depends testConstructor
  */
 public function testGetAttributeNames(SimpleCredentials $credentials)
 {
     $credentials->setAttribute('other', 'test');
     $this->assertEquals(array('other'), $credentials->getAttributeNames());
 }