pc.getConfig().setDetectMixedScopes(true);
pc.registerPetiteBean(Big2.class, "big", SingletonScope.class, null, false);
pc.registerPetiteBean(Small.class, "small", ProtoScope.class, null, false);
Big2 big = (Big2) pc.getBean("big");
Small small1 = big.getSmall();
Small small2 = big.getSmall();
assertSame(small1, small2); // factory !!!
assertEquals(1, Small.instanceCounter);