/**
  * Initializes provided context.
  *
  * @param Context $context
  */
 public function initializeContext(Context $context)
 {
     if (false === $context instanceof AliceContextInterface) {
         return;
     }
     /* @var AliceContextInterface $context */
     $fixturesBasePath = $this->fixturesBasePath;
     switch (true) {
         case $context instanceof AliceODMContext:
             $fixturesBasePath .= '/ODM';
             break;
         case $context instanceof AliceORMContext:
             $fixturesBasePath .= '/ORM';
             break;
         case $context instanceof AlicePHPCRContext:
             $fixturesBasePath .= '/PHPCR';
             break;
     }
     if (null === $context->getBasePath()) {
         $context->setBasePath($fixturesBasePath);
     }
 }