RouteListener implements ApplicationListener<RouteChangedEvent> { public RoutingPlan getBestRoutingPlan() { return bestRoutingPlan; } @Autowired  RouteListener(
            Router router,
            RoutingPlanConsumer routingPlanConsumer,
            VehicleRepository vehicleRepository,
            LocationRepository locationRepository); @Override void onApplicationEvent(RouteChangedEvent event); RoutingPlan getBestRoutingPlan();  }
@Test void new_listener_should_return_empty_best_route() { assertThat(routeListener.getBestRoutingPlan().isEmpty()).isTrue(); }