public static function getConfig()
 {
     $config = new ConfigurationBuilder();
     $config->addInvokable("IndependentService", IndependentService::getClass());
     $config->addFactory("DependentService", __CLASS__);
     return $config->getConfig();
 }
 /**
  * @dataProvider dataSetSharedByDefaultWithInvalidArgumentWorks
  * @param mixed $invalidArgument
  */
 public function testSetSharedByDefaultWithInvalidArgumentWorks($invalidArgument)
 {
     $this->setExpectedException(self::CONFIGURATION_EXCEPTION);
     $this->builder->setSharedByDefault($invalidArgument);
 }