void stubFieldIdAnnotation(JField field, String fieldId, boolean processType) {
WithElementId idAnnotation = mock(WithElementId.class);
when(field.getAnnotation(WithElementId.class)).thenReturn(idAnnotation);
when(idAnnotation.value()).thenReturn(fieldId);
when(idAnnotation.processType()).thenReturn(processType);
}
ElementIdStatement getExpectedStatement(String pathToField, String elementId) {
String fieldExpression = ElementIdHandlerGenerator.ElementIdHandler_generateAndSetIds_owner;