/**
  * @param string $type
  * @param array $requiredSuperTypes
  * @return \Stagehand\TestRunner\Collector\CollectingType
  */
 public function create($type = null, array $requiredSuperTypes = array())
 {
     $collectingType = parent::create();
     $collectingType->setType($type);
     $collectingType->setRequiredSuperTypes($requiredSuperTypes);
     return $collectingType;
 }
 /**
  * @param \Stagehand\TestRunner\JUnitXMLWriter\JUnitXMLWriterInterface $junitXMLWriter
  * @param \Stagehand\TestRunner\TestSuite\SimpleTestTestSuite $suite
  * @return \Stagehand\TestRunner\Runner\SimpleTestRunner\JUnitXMLReporter
  */
 public function create(JUnitXMLWriterInterface $junitXMLWriter = null, SimpleTestTestSuite $suite = null)
 {
     $junitXMLReporter = parent::create();
     $junitXMLReporter->setJUnitXMLWriter($junitXMLWriter);
     $junitXMLReporter->setTestSuite($suite);
     return $junitXMLReporter;
 }