Ejemplo n.º 1
0
 /**
  * 
  * @param string $type
  * @return User
  */
 public function getByType($type)
 {
     return $this->dao->getByType($type);
 }
Ejemplo n.º 2
0
 public function testsearchUser()
 {
     $this->insertTestUsers();
     $ret = $this->userDAO->searchUser("Alexander");
     $this->assertEquals($ret[0]->getVorname(), "Alexander");
 }