protected function setUp() { $queryConditionArgs = array("fieldName" => "name", "operator" => "LIKE", "value" => "Matthias", "sql" => ""); $queryCondition = new QueryCondition($queryConditionArgs); $queryConditions = array($queryCondition); $styleMap = new StyleMap(); $queryArgs = array("name" => "Test", "conditions" => $queryConditions, "styleMap" => $styleMap); $this->queryData = $queryArgs; $this->routeBase = '/query/'; $this->serviceName = "mapbender.query.manager"; $this->updateRoute = $this->routeBase . 'update'; $this->authErrorMessage = "Failed to get/remove Query because of a lack of permissions!"; $this->saveErrorMessage = "Failed to get/remove Query for given id. It was probably not correctly saved. Check the save/update test case."; parent::setUp(); }