@Test public void testClearCacheCommand() { ClearCacheCommand command = new ClearCacheCommand(CHARGING_STATION_ID, IDENTITY_CONTEXT); assertEquals(CHARGING_STATION_ID, command.getChargingStationId()); assertEquals(IDENTITY_CONTEXT, command.getIdentityContext()); }
public ClearCacheCommand(ChargingStationId chargingStationId, IdentityContext identityContext) { this.chargingStationId = checkNotNull(chargingStationId); this.identityContext = checkNotNull(identityContext); }
ClearCacheCommand { public ClearCacheCommand(ChargingStationId chargingStationId, IdentityContext identityContext) { this.chargingStationId = checkNotNull(chargingStationId); this.identityContext = checkNotNull(identityContext); } }
ClearCacheCommand { public ClearCacheCommand(ChargingStationId chargingStationId, IdentityContext identityContext) { this.chargingStationId = checkNotNull(chargingStationId); this.identityContext = checkNotNull(identityContext); } ClearCacheCommand(ChargingStationId chargingStationId, IdentityContext identityContext); }
ClearCacheCommand { public ClearCacheCommand(ChargingStationId chargingStationId, IdentityContext identityContext) { this.chargingStationId = checkNotNull(chargingStationId); this.identityContext = checkNotNull(identityContext); } ClearCacheCommand(ChargingStationId chargingStationId, IdentityContext identityContext); ChargingStationId getChargingStationId(); IdentityContext getIdentityContext(); @Override int hashCode(); @Override boolean equals(Object obj); }
ClearCacheCommand { public ClearCacheCommand(ChargingStationId chargingStationId, IdentityContext identityContext) { this.chargingStationId = checkNotNull(chargingStationId); this.identityContext = checkNotNull(identityContext); } ClearCacheCommand(ChargingStationId chargingStationId, IdentityContext identityContext); ChargingStationId getChargingStationId(); IdentityContext getIdentityContext(); @Override int hashCode(); @Override boolean equals(Object obj);  }