### Question:
VasConversionService { public ChargePoint getVasRepresentation(ChargingStation chargingStation) { ChargePoint chargePoint = new ChargePoint(); chargePoint.setAddress(chargingStation.getAddress()); chargePoint.getChargingCapabilities().addAll(getChargingCapabilities(chargingStation)); chargePoint.setChargingMode(getVasChargingMode(chargingStation.getChargeMode())); chargePoint.setCity(chargingStation.getCity()); chargePoint.setConnectors(chargingStation.getNumberOfEvses()); chargePoint.setConnectorsFree(chargingStation.getNumberOfFreeEvses()); chargePoint.getConnectorTypes().addAll(getConnectorTypes(chargingStation)); chargePoint.setCoordinates(getCoordinates(chargingStation)); chargePoint.setCountry(chargingStation.getCountry()); chargePoint.setHasFixedCable(chargingStation.isHasFixedCable()); chargePoint.setIsReservable(chargingStation.isReservable()); chargePoint.getOpeningPeriod().addAll(getOpeningPeriod(chargingStation)); chargePoint.setOperator(chargingStation.getOperator()); chargePoint.setPostalCode(chargingStation.getPostalCode()); chargePoint.setPublic(getPublic(chargingStation)); chargePoint.setRegion(chargingStation.getRegion()); chargePoint.setStatus(getStatus(chargingStation)); chargePoint.setUid(chargingStation.getId()); return chargePoint; }  ChargePoint getVasRepresentation(ChargingStation chargingStation); List<io.motown.vas.v10.soap.schema.ChargingCapability> getChargingCapabilities(ChargingStation chargingStation); List<io.motown.vas.v10.soap.schema.ConnectorType> getConnectorTypes(ChargingStation chargingStation); Wgs84Coordinates getCoordinates(ChargingStation chargingStation); List<OpeningPeriod> getOpeningPeriod(ChargingStation chargingStation); Accessibility getPublic(ChargingStation chargingStation); ChargingMode getVasChargingMode(ChargeMode chargeMode); ChargePointStatus getStatus(ChargingStation chargingStation);  }### Answer:
@Test public void getVasRepresentationNewChargingStationNoExceptions() { service.getVasRepresentation(new ChargingStation(CHARGING_STATION_ID.getId())); }
@Test public void getVasRepresentationNewChargingStationValidateReturnValue() { ChargingStation cs = new ChargingStation(CHARGING_STATION_ID.getId()); ChargePoint vasRepresentation = service.getVasRepresentation(cs); VasSoapTestUtils.compareChargingStationToVasRepresentation(cs, vasRepresentation); }
@Test public void getVasRepresentationFilledChargingStationValidateReturnValue() { ChargingStation cs = VasSoapTestUtils.getConfiguredAndFilledChargingStation(); ChargePoint vasRepresentation = service.getVasRepresentation(cs); VasSoapTestUtils.compareChargingStationToVasRepresentation(cs, vasRepresentation); }