}
@SuppressWarnings("unchecked")
public void testWalk() throws Exception {
IntrospectionRegistryImpl registry = new IntrospectionRegistryImpl(monitor);
ImplementationProcessor processor = EasyMock.createMock(ImplementationProcessor.class);
processor.visitClass(EasyMock.isA(CompositeComponent.class),
EasyMock.eq(Bar.class),
EasyMock.isA(PojoComponentType.class),
EasyMock.isA(DeploymentContext.class));
processor.visitConstructor(EasyMock.isA(CompositeComponent.class),
EasyMock.isA(Constructor.class),
EasyMock.isA(PojoComponentType.class),
EasyMock.isA(DeploymentContext.class));
processor.visitMethod(EasyMock.isA(CompositeComponent.class),
EasyMock.isA(Method.class),
EasyMock.isA(PojoComponentType.class),
EasyMock.isA(DeploymentContext.class));
processor.visitField(EasyMock.isA(CompositeComponent.class),
EasyMock.isA(Field.class),
EasyMock.isA(PojoComponentType.class),
EasyMock.isA(DeploymentContext.class));
processor.visitSuperClass(EasyMock.isA(CompositeComponent.class),
EasyMock.isA(Class.class),
EasyMock.isA(PojoComponentType.class),
EasyMock.isA(DeploymentContext.class));
processor.visitEnd(EasyMock.isA(CompositeComponent.class),
EasyMock.isA(Class.class),
EasyMock.isA(PojoComponentType.class),
EasyMock.isA(DeploymentContext.class));
// mock.expects(once()).method("visitClass");