function testNonObjectRegisterInstance()
 {
     $pico = new DefaultPicoContainer();
     $pass = false;
     try {
         $pico->regComponentInstance('string');
     } catch (PicoRegistrationException $e) {
         $pass = true;
     }
     $this->assertTrue($pass, 'Caught exception');
 }