/**
  * Checks if inject() returns the provided bootstrap-aware object.
  */
 public function testInjectReturnsBootstrapAwareObject()
 {
     $object = $this->getMock('Mol_Application_Bootstrap_Aware');
     $this->assertSame($object, $this->injector->inject($object));
 }
 /**
  * Injects the bootstrapper into the plugin if possible.
  */
 protected function injectBootstrapper()
 {
     $injector = new Mol_Application_Bootstrap_Injector($this->bootstrapper);
     $injector->inject($this->plugin);
 }