@Autowired
ApplicationContext context;
@Test
public void testPrototypeScope() throws PrintingException {
DummyComponentInfo info = new DummyComponentInfo();
DummyComponent comp1 = (DummyComponent) service.toInternal(info);
DummyComponent comp2 = (DummyComponent) service.toInternal(info);
Assert.assertTrue(comp1 != comp2);
}