/**
  * Generates a new MockData object will all required information for creating mock files
  *
  * @param   EntityData $entity
  * @param   ConfigData $config
  * @return  MockData
  */
 public function generateMockDataObject(EntityData $entity, ConfigData $config)
 {
     $className = $this->formatMockClassName($entity->getClassName(), $config->getMockFileNameFormat());
     $savePath = $this->determineMockFileSavePath($entity->getFileData()->getFileDirectory(), $config);
     $utSavePath = $this->determineMockUnitTestFileSavePath($entity->getFileData()->getFileDirectory(), $config);
     $namespace = $this->generateMockFileNamespace($savePath, $config);
     $utNamespace = $this->generateMockFileNamespace($utSavePath, $config);
     $obj = new MockData();
     $obj->setClassName($className)->setClassNamespace($namespace)->setUtClassNamespace($utNamespace)->getFileData()->setFileName($className . '.php')->setFileDirectory($savePath)->setFullFilePath($savePath . $className . '.php');
     $obj->getUtFileData()->setFileName($className . 'Test.php')->setFileDirectory($utSavePath)->setFullFilePath($utSavePath . $className . 'Test.php');
     $obj = $this->generateMockDataDetails($obj, $entity);
     return $obj;
 }