### Question:
CreateChargingStationCommandCallback implements CommandCallback<Object> { @Override public void onFailure(Throwable throwable) { LOG.error("CreateChargingStationCommand failed. " + throwable.getMessage()); } CreateChargingStationCommandCallback(ChargingStationId chargingStationId, String protocol, AttributeMap<String, String> attributes,
                                                AddOnIdentity addOnIdentity, ChargingStationRepository chargingStationRepository, DomainService domainService); @Override void onSuccess(Object o); @Override void onFailure(Throwable throwable);  }### Answer:
@Test public void testOnFailure() { createChargingStationCommandCallback.onFailure(new Throwable()); }