@Test public void constructorSetsFields() { MakeChargingStationNotReservableCommand command = new MakeChargingStationNotReservableCommand(CHARGING_STATION_ID, ROOT_IDENTITY_CONTEXT); assertEquals(CHARGING_STATION_ID, command.getChargingStationId()); }
public ChargingStationId getChargingStationId() { return chargingStationId; }
MakeChargingStationNotReservableCommand { public ChargingStationId getChargingStationId() { return chargingStationId; } }
MakeChargingStationNotReservableCommand { public ChargingStationId getChargingStationId() { return chargingStationId; } MakeChargingStationNotReservableCommand(ChargingStationId chargingStationId, IdentityContext identityContext); }
MakeChargingStationNotReservableCommand { public ChargingStationId getChargingStationId() { return chargingStationId; } MakeChargingStationNotReservableCommand(ChargingStationId chargingStationId, IdentityContext identityContext); ChargingStationId getChargingStationId(); IdentityContext getIdentityContext(); @Override int hashCode(); @Override boolean equals(Object obj); }
MakeChargingStationNotReservableCommand { public ChargingStationId getChargingStationId() { return chargingStationId; } MakeChargingStationNotReservableCommand(ChargingStationId chargingStationId, IdentityContext identityContext); ChargingStationId getChargingStationId(); IdentityContext getIdentityContext(); @Override int hashCode(); @Override boolean equals(Object obj);  }