@Override
  protected void postProcessComponentDefinition(BeanComponentDefinition componentDefinition) {
    super.postProcessComponentDefinition(componentDefinition);
    componentDefinition.getBeanDefinition().setPrimary(true);
  }
Adds support for the spock:mock element.

Spring integration of spock mocks is heavily inspired by
Springokito {@see https://bitbucket.org/kubek2k/springockito}.

@author Leonard Bruenings
spock-spring/src/main/java/org/spockframework/spring/xml/MockBeanDefinitionParser.java