obj = new UsersActionManager(); $this->obj->setUser($this->usersArray['admin']); $this->obj->setBaseService(BaseService::getInstance()); $this->obj->setEmailSender(BaseService::getInstance()->getEmailSender()); } public function testChangePassword(){ $this->obj->getCurrentProfileId(); $this->assertEquals(1, 1); } }