public function setUp() { $this->userMapper = UserMapper::getInstance(); $this->user = new UserModel(); $this->user->setUserName("UserMapperTest"); $this->user->setEmail("*****@*****.**"); $this->user->setFirstName("Roman"); $this->user->setLastName("Matinez"); $this->user->setLanguage("1"); $this->user->setPhone("933283743"); $this->user->setCountry("ES"); $this->user->setTimezone("Europe/Madrid"); $this->user->setRole("admin"); $this->userExtra = new UserExtraModel(); $this->userExtra->setOrgId("xasdasdas"); $this->userExtra->setTransactions("aasdas"); $this->userExtra->setConfig("qw12sad"); $this->userExtra->setId("234asdasd"); $this->userExtra->setCreated("2011-12-10T11:15:43.132Z"); $this->userExtra->setModified("2011-12-10T11:17:43.132Z"); }