code: public void registerActivitiStateHandler(
  			ActivitiStateHandlerRegistration registration) {
  		String regKey = registrationKey(registration.getProcessName(),
  				registration.getStateName());
  		this.registrations.put(regKey, registration);
  	}
docs: used at runtime to register state handlers as they are registered with the spring context
  
  @param registration the {@link org.camunda.bpm.engine.test.spring.components.registry.ActivitiStateHandlerRegistration}