@Override
		public void onApplicationEvent(InstancePreRegisteredEvent event) {
			this.registration = event.getRegistration();
			this.wasFired = true;
		}
Integration tests for {@link EurekaAutoServiceRegistration}.

@author Olga Maciaszek-Sharma
spring-cloud-netflix-eureka-client/src/test/java/org/springframework/cloud/netflix/eureka/serviceregistry/EurekaAutoServiceRegistrationIntegrationTests.java