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