public function testInstantiateAnObjectViaGet()
 {
     $injector = new Injector();
     $injector->setAutoScanProperties(true);
     $config = array(array('src' => TEST_SERVICES . '/SampleService.php'));
     $injector->load($config);
     $this->assertTrue($injector->hasService('SampleService') == 'SampleService');
     $myObject = $injector->get('OtherTestObject');
     $this->assertEquals(get_class($myObject->s()), 'SampleService');
     // and again because it goes down a different code path when setting things
     // based on the inject map
     $myObject = $injector->get('OtherTestObject');
     $this->assertEquals(get_class($myObject->s()), 'SampleService');
 }