@Test(expected = UnsupportedOperationException.class) public void unsupportedOperationExceptionThrownWhenModifyingEvses() { ConfigureChargingStationCommand command = new ConfigureChargingStationCommand(CHARGING_STATION_ID, EVSES, NULL_USER_IDENTITY_CONTEXT); command.getEvses().add(new Evse(EVSE_ID, CONNECTORS)); }
public Set<Evse> getEvses() { return evses; }
ConfigureChargingStationCommand { public Set<Evse> getEvses() { return evses; } }
ConfigureChargingStationCommand { public Set<Evse> getEvses() { return evses; } ConfigureChargingStationCommand(ChargingStationId chargingStationId, Set<Evse> evses, IdentityContext identityContext); }
ConfigureChargingStationCommand { public Set<Evse> getEvses() { return evses; } ConfigureChargingStationCommand(ChargingStationId chargingStationId, Set<Evse> evses, IdentityContext identityContext); ChargingStationId getChargingStationId(); Set<Evse> getEvses(); IdentityContext getIdentityContext(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); }
ConfigureChargingStationCommand { public Set<Evse> getEvses() { return evses; } ConfigureChargingStationCommand(ChargingStationId chargingStationId, Set<Evse> evses, IdentityContext identityContext); ChargingStationId getChargingStationId(); Set<Evse> getEvses(); IdentityContext getIdentityContext(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString();  }