Behat/Symfony2Extension — pull request #38 by benscholler (2013-07-27 00:48:26+00:00)
Title: Adding check for Behat KernelDictionary trait recursively through other traits.

This updates the initializer to check to see if the KernelDictionary trait is "extended" from another trait. This is useful when writing your own custom testing traits that use Behat's KernelDictionary trait. For instance:

```php
getContainer()->get('doctrine_mongodb.odm.document_manager');
}
}

class YourAwesomeContext
{
use \Acme\Bundle\TestBundle\Traits\AcmeContextDictionary;

public function iWantToFindSomethingAwesome() {
$this->getDocumentManger()
->getRepository('AcmeTestBundle:Thing')
->findOneByAwesomeness(...);
}
}
```

In it's current state, the kernel is never set on traits that extend it. Thoughts?