@Test public void testDiagnosticsRequestedEvent() { CorrelationToken correlationToken = new CorrelationToken(); requestHandler.handle(new DiagnosticsRequestedEvent(CHARGING_STATION_ID, PROTOCOL, DIAGNOSTICS_UPLOAD_SETTINGS, ROOT_IDENTITY_CONTEXT), correlationToken); verify(client).getDiagnostics(CHARGING_STATION_ID, DIAGNOSTICS_UPLOAD_SETTINGS); }
@Override public void handle(ConfigurationItemsRequestedEvent event) { throw new UnsupportedOperationException("GetConfigurationItems not supported in OCPP/S 1.2"); }
Ocpp12RequestHandler implements OcppRequestHandler { @Override public void handle(ConfigurationItemsRequestedEvent event) { throw new UnsupportedOperationException("GetConfigurationItems not supported in OCPP/S 1.2"); } }
Ocpp12RequestHandler implements OcppRequestHandler { @Override public void handle(ConfigurationItemsRequestedEvent event) { throw new UnsupportedOperationException("GetConfigurationItems not supported in OCPP/S 1.2"); }  }
Ocpp12RequestHandler implements OcppRequestHandler { @Override public void handle(ConfigurationItemsRequestedEvent event) { throw new UnsupportedOperationException("GetConfigurationItems not supported in OCPP/S 1.2"); }  @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 setChargingStationOcpp12Client(ChargingStationOcpp12Client chargingStationOcpp12Client); void setDomainService(DomainService domainService); void setAddOnId(String id); }
Ocpp12RequestHandler implements OcppRequestHandler { @Override public void handle(ConfigurationItemsRequestedEvent event) { throw new UnsupportedOperationException("GetConfigurationItems not supported in OCPP/S 1.2"); }  @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 setChargingStationOcpp12Client(ChargingStationOcpp12Client chargingStationOcpp12Client); void setDomainService(DomainService domainService); void setAddOnId(String id); static final String ADD_ON_TYPE; }