#!/usr/bin/env php id = 1; $myPrompt->module = 'my'; $productPrompt = new stdClass(); $productPrompt->id = 2; $productPrompt->module = 'product'; $projectPrompt = new stdClass(); $projectPrompt->id = 3; $projectPrompt->module = 'project'; $projectPrompt->targetForm = 'test/form'; $waterfallPrompt = new stdClass(); $waterfallPrompt->id = 4; $waterfallPrompt->module = 'project'; $waterfallPrompt->targetForm = 'programplan/create'; $unknownPrompt = new stdClass(); $unknownPrompt->id = 5; $unknownPrompt->module = 'unknown'; r($aiTest->getTestingLocationTest($myPrompt)) && p() && e('my-effort-type=all.html'); r($aiTest->getTestingLocationTest($productPrompt)) && p() && e('ai-promptexecute-promptId=2&objectId=5.html'); r($aiTest->getTestingLocationTest($projectPrompt)) && p() && e('ai-promptexecute-promptId=3&objectId=5.html'); r($aiTest->getTestingLocationTest($waterfallPrompt)) && p() && e('ai-promptexecute-promptId=4&objectId=5.html'); r($aiTest->getTestingLocationTest($unknownPrompt)) && p() && e('0');