public function testGet() { $this->assertEquals('test', $this->geopalClient->get('api/jobs/get')->getBody()); }
/** * Updates details of an employee based on her identifier * * @param $identifier * @param $username * @param $password * @param $firstName * @param $lastName * @param $email * @param array $params * @return mixed */ public function updateEmployeeByIdentifier($identifier, $username, $password, $firstName, $lastName, $email, $params = array()) { $employee = $this->client->post('api/employees/updatebyidentifier', array_merge(array('identifier' => $identifier, 'username' => $username, 'password' => $password, 'first_name' => $firstName, 'last_name' => $lastName, 'email' => $email), $params))->json(); return $this->checkPropertyAndReturn($employee, 'employee_data'); }