#!/usr/bin/env php extra = '123'; $buildAction->objectType = 'story'; $bugAction = new stdClass(); $bugAction->extra = '456'; $bugAction->objectType = 'bug'; $testtaskAction = new stdClass(); $testtaskAction->extra = '789'; $executionAction = new stdClass(); $executionAction->extra = '101'; $projectAction = new stdClass(); $projectAction->execution = '102'; $projectAction->product = '1,2,'; $productplanAction = new stdClass(); $productplanAction->extra = '201'; $storyAction = new stdClass(); $storyAction->extra = '301'; $releaseAction = new stdClass(); $releaseAction->extra = '401'; $releaseAction->objectType = 'release'; $unknownAction = new stdClass(); $unknownAction->extra = '999'; r($actionTest->processParamStringTest($buildAction, 'build')) && p() && e('buildID=123&type=story'); r($actionTest->processParamStringTest($bugAction, 'bug')) && p() && e('bugID=456&type=bug'); r($actionTest->processParamStringTest($testtaskAction, 'testtask')) && p() && e('taskID=789'); r($actionTest->processParamStringTest($executionAction, 'execution')) && p() && e('executionID=101'); r($actionTest->processParamStringTest($projectAction, 'project')) && p() && e('projectID=102&productID=1,2'); r($actionTest->processParamStringTest($productplanAction, 'productplan')) && p() && e('planID=201'); r($actionTest->processParamStringTest($storyAction, 'story')) && p() && e('storyID=301'); r($actionTest->processParamStringTest($releaseAction, 'release')) && p() && e('releaseID=401&type=release'); r($actionTest->processParamStringTest($unknownAction, 'unknown')) && p() && e('0');