/**
  * @param \Box\TestScribe\Spec\SpecsPerClass $spec
  *
  * @param string $specFilePath
  *
  * @return void
  */
 public function writeSpec(SpecsPerClass $spec, $specFilePath)
 {
     $specsArray = $this->specsPerClassPersistence->encodeSpecsPerClass($spec);
     $specAsYamlString = $this->yamlUtil->dumpToString($specsArray);
     $this->fileUtil->putContent($specFilePath, $specAsYamlString);
 }