public function FeatureContext::whenIGenerateSomeNodes in Pantheon Advanced Page Cache 8
@Given there are some :type nodes
File
- tests/
behat/ helper_classes/ Contexts/ FeatureContext.php, line 50
Class
- FeatureContext
- Define application features from the specific context.
Namespace
PantheonSystems\CDNBehatHelpers\ContextsCode
public function whenIGenerateSomeNodes($type, $number_of_nodes = 2) {
$i = 0;
while ($i < $number_of_nodes) {
$this
->whenIGenerateANode($type);
$i++;
}
}