public function printUndefinedSteps(SnippetPrinter $printer, array $undefinedSteps)
    {
        $printableSteps = array();
        foreach ($undefinedSteps as $undefinedStep) {
            $suiteName = $undefinedStep->getEnvironment()->getSuite()->getName();
            $step = $undefinedStep->getStep();

            if (!isset($printableSteps[$suiteName])) {
                $printableSteps[$suiteName] = array();
            }

            $printableSteps[$suiteName][$step->getText()] = $step;
        }

        foreach ($printableSteps as $suiteName => $steps) {
            $printer->printUndefinedSteps($suiteName, array_values($steps));
        }
    }