code: private boolean anotherCandidateMatchesMockName(final Collection<Object> mocks,
                                                      final Field candidateFieldToBeInjected,
                                                      final List<Field> allRemainingCandidateFields) {
          String mockName = getMockName(mocks.iterator().next()).toString();
  
          for (Field otherCandidateField : allRemainingCandidateFields) {
              if (!otherCandidateField.equals(candidateFieldToBeInjected)
                      && otherCandidateField.getType().equals(candidateFieldToBeInjected.getType())
                      && otherCandidateField.getName().equals(mockName)) {
                  return true;
              }
          }
          return false;
      }
docs: /*
  In this case we have to check whether we have conflicting naming
  fields. E.g. 2 fields of the same type, but we have to make sure
  we match on the correct name.
  
  Therefore we have to go through all other fields and make sure
  whenever we find a field that does match its name with the mock
  name, we should take that field instead.