function buildRequest($action, $params, $config = [])
 {
     return Builder::build($action, $params, $this->getDataHelper($config));
 }
 function testMultiplePropertyCreation()
 {
     $tests = self::getTestConfigs('misc_builder_tests');
     $musi = $tests['multiple_property_single_element'];
     $this->array(ReqBuilder::processSchema($musi['schema'], $musi['values']))->isEqualTo($musi['expect']);
 }
 function getTestRequest($req, $with_response = FALSE)
 {
     $built = ReqBuilder::build($req, $this->getSampleRequest($req), new \RoyalMail\Helper\Data());
     return $with_response ? ['request' => $built, 'response' => $this->getSampleRequest($req, 'response')] : $built;
 }