/**
  * XXX: Calling "getType" for reading key value (?)
  * @return string
  */
 public function read()
 {
     return $this->database->getType($this->key);
 }
 /**
  * Implement testGetKey()
  * @depends testSetKey
  */
 public function testGetType()
 {
     $this->execw->setSocketMatcher('gettype', explode(' ', 'K'))->setExecImplementation(array($this, 'exec_getTypeCallback'));
     $ret = $this->object->getType('K');
     $this->assertEquals('T', $ret);
 }