public void TestDependsOnTouchableWithTouchableSpecifiedAsConstant()
		{
			DefaultPicoContainer pico = new DefaultPicoContainer();
			SimpleTouchable touchable = new SimpleTouchable();
			pico.RegisterComponentImplementation(typeof (DependsOnTouchable), typeof (DependsOnTouchable), new IParameter[]
				{
					new ConstantParameter(touchable)
				});
			object o = pico.ComponentInstances;
			Assert.IsTrue(touchable.WasTouched);
		}
 public void testIComponentAdapterReturnsSame()
 {
     ITouchable touchable = new SimpleTouchable();
     IComponentAdapter IComponentAdapter = new InstanceComponentAdapter(typeof (ITouchable), touchable);
     Assert.AreSame(touchable, IComponentAdapter.GetComponentInstance(null));
 }