TestCase.assertEquals( SimpleComponent.INSTANCE, instance.getInstance() );
TestCase.assertEquals( instanceObject, instance.getInstance() );
TestCase.assertEquals( PROP_NAME_FACTORY, SimpleComponent.INSTANCE.getProperty( PROP_NAME_FACTORY ) );
TestCase.assertEquals( PROP_NAME, SimpleComponent.INSTANCE.getProperty( PROP_NAME ) );
instance.dispose();
TestCase.assertNull( SimpleComponent.INSTANCE ); // component is deactivated
TestCase.assertNull( instance.getInstance() ); // SCR 112.12.6.2
// with removal of the factory, the created instance should also be removed
TestCase.assertEquals( 0, instanceMap.size() );