for ( Field field : fields ) {
boolean isMock = (field.getAnnotation(Mock.class) != null);
boolean isStub = (field.getAnnotation(Stub.class) != null);
if ( !isMock && !isStub ) continue;
if ( isMock && (mockery == null) ) throw new NoMockeryException();
if ( isStub && (mockery == null) ) mockery = new Mockery();
Class<?> fieldType = field.getType();
if ( fieldType.isArray() ) {
Object[] array = (Object[])Array.newInstance(fieldType.getComponentType(), 3);