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