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