public void testInvocationsCanBeRecordedAndReplayedOnADifferentContainerInstance() throws Exception {
ContainerRecorder recorder = new DefaultContainerRecorder(new DefaultNanoPicoContainer());
MutablePicoContainer recorded = recorder.getContainerProxy();
recorded.registerComponentInstance("fruit", "apple");
recorded.registerComponentInstance("int", new Integer(239));
recorded.registerComponentImplementation("thing",
ThingThatTakesParamsInConstructor.class,
new Parameter[]{
ComponentParameter.DEFAULT,
ComponentParameter.DEFAULT,