/**
  * @throws \Spryker\Zed\Collector\Business\Exporter\Exception\DependencyException
  *
  * @return void
  */
 protected function validateDependencies()
 {
     parent::validateDependencies();
     if (!$this->queryBuilder instanceof AbstractPropelCollectorQuery) {
         throw new DependencyException(sprintf('queryBuilder does not implement AbstractPropelCollectorQuery in %s', get_class($this)));
     }
 }
 /**
  * @throws \Spryker\Zed\Collector\Business\Exporter\Exception\DependencyException
  *
  * @return void
  */
 protected function validateDependencies()
 {
     parent::validateDependencies();
     if (!$this->criteriaBuilder instanceof CriteriaBuilderInterface) {
         throw new DependencyException(sprintf('criteriaBuilder does not implement CriteriaBuilder\\CriteriaBuilderInterface in %s', get_class($this)));
     }
     if (!$this->queryBuilder instanceof AbstractPdoCollectorQuery) {
         throw new DependencyException(sprintf('queryBuilder does not implement AbstractPdoCollectorQuery in %s', get_class($this)));
     }
 }