@Test public void testChangeConfigurationItemRequestedEvent() { CorrelationToken correlationToken = new CorrelationToken(); handler.handle(new ChangeConfigurationItemRequestedEvent(CHARGING_STATION_ID, PROTOCOL, CONFIGURATION_ITEM, NULL_USER_IDENTITY_CONTEXT), correlationToken); verify(service).changeConfiguration(CHARGING_STATION_ID, CONFIGURATION_ITEM, correlationToken); }
@Override public void handle(ConfigurationItemsRequestedEvent event) { LOG.info("Handling ConfigurationItemsRequestedEvent"); ocppJsonService.getConfiguration(event.getChargingStationId(), event.getKeys()); }
OcppWebSocketRequestHandler implements OcppRequestHandler { @Override public void handle(ConfigurationItemsRequestedEvent event) { LOG.info("Handling ConfigurationItemsRequestedEvent"); ocppJsonService.getConfiguration(event.getChargingStationId(), event.getKeys()); } }
OcppWebSocketRequestHandler implements OcppRequestHandler { @Override public void handle(ConfigurationItemsRequestedEvent event) { LOG.info("Handling ConfigurationItemsRequestedEvent"); ocppJsonService.getConfiguration(event.getChargingStationId(), event.getKeys()); }  }
OcppWebSocketRequestHandler implements OcppRequestHandler { @Override public void handle(ConfigurationItemsRequestedEvent event) { LOG.info("Handling ConfigurationItemsRequestedEvent"); ocppJsonService.getConfiguration(event.getChargingStationId(), event.getKeys()); }  @Override void handle(ConfigurationItemsRequestedEvent event); @Override void handle(StopTransactionRequestedEvent event, CorrelationToken correlationToken); @Override void handle(SoftResetChargingStationRequestedEvent event, CorrelationToken correlationToken); @Override void handle(HardResetChargingStationRequestedEvent event, CorrelationToken correlationToken); @Override void handle(StartTransactionRequestedEvent event, CorrelationToken correlationToken); @Override void handle(UnlockEvseRequestedEvent event, CorrelationToken correlationToken); @Override void handle(ChangeChargingStationAvailabilityToInoperativeRequestedEvent event, CorrelationToken correlationToken); @Override void handle(ChangeChargingStationAvailabilityToOperativeRequestedEvent event, @MetaData(CorrelationToken.KEY) CorrelationToken correlationToken); @Override void handle(ChangeComponentAvailabilityToInoperativeRequestedEvent event, @MetaData(CorrelationToken.KEY) CorrelationToken correlationToken); @Override void handle(ChangeComponentAvailabilityToOperativeRequestedEvent event, CorrelationToken correlationToken); @Override void handle(DataTransferRequestedEvent event, CorrelationToken correlationToken); @Override void handle(ChangeConfigurationItemRequestedEvent event, CorrelationToken correlationToken); @Override void handle(DiagnosticsRequestedEvent event, CorrelationToken correlationToken); @Override void handle(ClearCacheRequestedEvent event, CorrelationToken correlationToken); @Override void handle(FirmwareUpdateRequestedEvent event); @Override void handle(AuthorizationListVersionRequestedEvent event, CorrelationToken correlationToken); @Override void handle(SendAuthorizationListRequestedEvent event, CorrelationToken correlationToken); @Override void handle(ReserveNowRequestedEvent event, CorrelationToken correlationToken); @Override void handle(CancelReservationRequestedEvent event, CorrelationToken correlationToken); void setOcppJsonService(OcppJsonService ocppJsonService); }
OcppWebSocketRequestHandler implements OcppRequestHandler { @Override public void handle(ConfigurationItemsRequestedEvent event) { LOG.info("Handling ConfigurationItemsRequestedEvent"); ocppJsonService.getConfiguration(event.getChargingStationId(), event.getKeys()); }  @Override void handle(ConfigurationItemsRequestedEvent event); @Override void handle(StopTransactionRequestedEvent event, CorrelationToken correlationToken); @Override void handle(SoftResetChargingStationRequestedEvent event, CorrelationToken correlationToken); @Override void handle(HardResetChargingStationRequestedEvent event, CorrelationToken correlationToken); @Override void handle(StartTransactionRequestedEvent event, CorrelationToken correlationToken); @Override void handle(UnlockEvseRequestedEvent event, CorrelationToken correlationToken); @Override void handle(ChangeChargingStationAvailabilityToInoperativeRequestedEvent event, CorrelationToken correlationToken); @Override void handle(ChangeChargingStationAvailabilityToOperativeRequestedEvent event, @MetaData(CorrelationToken.KEY) CorrelationToken correlationToken); @Override void handle(ChangeComponentAvailabilityToInoperativeRequestedEvent event, @MetaData(CorrelationToken.KEY) CorrelationToken correlationToken); @Override void handle(ChangeComponentAvailabilityToOperativeRequestedEvent event, CorrelationToken correlationToken); @Override void handle(DataTransferRequestedEvent event, CorrelationToken correlationToken); @Override void handle(ChangeConfigurationItemRequestedEvent event, CorrelationToken correlationToken); @Override void handle(DiagnosticsRequestedEvent event, CorrelationToken correlationToken); @Override void handle(ClearCacheRequestedEvent event, CorrelationToken correlationToken); @Override void handle(FirmwareUpdateRequestedEvent event); @Override void handle(AuthorizationListVersionRequestedEvent event, CorrelationToken correlationToken); @Override void handle(SendAuthorizationListRequestedEvent event, CorrelationToken correlationToken); @Override void handle(ReserveNowRequestedEvent event, CorrelationToken correlationToken); @Override void handle(CancelReservationRequestedEvent event, CorrelationToken correlationToken); void setOcppJsonService(OcppJsonService ocppJsonService); static final String PROTOCOL_IDENTIFIER; }