@Test public void constructorSetsFields() { ChargingStationCreatedEvent event = new ChargingStationCreatedEvent(CHARGING_STATION_ID, USER_IDENTITIES_WITH_ALL_PERMISSIONS, NULL_USER_IDENTITY_CONTEXT); assertEquals(CHARGING_STATION_ID, event.getChargingStationId()); }
public ChargingStationId getChargingStationId() { return this.chargingStationId; }
ChargingStationCreatedEvent { public ChargingStationId getChargingStationId() { return this.chargingStationId; } }
ChargingStationCreatedEvent { public ChargingStationId getChargingStationId() { return this.chargingStationId; } ChargingStationCreatedEvent(ChargingStationId chargingStationId, Set<UserIdentity> userIdentitiesWithAllPermissions, IdentityContext identityContext); }
ChargingStationCreatedEvent { public ChargingStationId getChargingStationId() { return this.chargingStationId; } ChargingStationCreatedEvent(ChargingStationId chargingStationId, Set<UserIdentity> userIdentitiesWithAllPermissions, IdentityContext identityContext); ChargingStationId getChargingStationId(); Set<UserIdentity> getUserIdentitiesWithAllPermissions(); IdentityContext getIdentityContext(); @Override int hashCode(); @Override boolean equals(Object obj); }
ChargingStationCreatedEvent { public ChargingStationId getChargingStationId() { return this.chargingStationId; } ChargingStationCreatedEvent(ChargingStationId chargingStationId, Set<UserIdentity> userIdentitiesWithAllPermissions, IdentityContext identityContext); ChargingStationId getChargingStationId(); Set<UserIdentity> getUserIdentitiesWithAllPermissions(); IdentityContext getIdentityContext(); @Override int hashCode(); @Override boolean equals(Object obj);  }