### Question:
PayloadFactory { DataTransferRequest createPublicKeyDataTransfer(List<Integer> evseIds) { return new DataTransferRequest().withVendorId(GENERAL_CONFIGURATION) .withMessageId(SET_METER_CONFIGURATION) .withData(buildPubLicKeyMeterConfig(evseIds)); }   static final String PUBLIC_KEY; static final CiString.CiString255 GENERAL_CONFIGURATION; static final CiString.CiString50 SET_METER_CONFIGURATION; }### Answer:
@Test void shouldBuildDataTransferRequest() { List<Integer> connectorIds = List.of(1, 2, 3); DataTransferRequest request = payloadFactory.createPublicKeyDataTransfer(connectorIds); assertThat(request.getVendorId()).isEqualTo(GENERAL_CONFIGURATION); assertThat(request.getMessageId()).isEqualTo(SET_METER_CONFIGURATION); assertThat(String.valueOf(request.getData())).contains(PUBLIC_KEY); }