private static function initMetadata()
 {
     if (self::$modules == null) {
         $meta = new Metadata();
         self::$modules = $meta->getModules();
     }
 }
 public function testGetUndefinedInstanceReturnsDefault()
 {
     $returnedInstance = ProviderFramework::getInstance("bogus");
     $this->assertInstanceOf('DefaultModule', $returnedInstance, "Should fall back to a default instance if undefined key");
 }