### Question:
Xs2aToSpiAccountReferenceMapper { public SpiAccountReference mapToSpiAccountReference(AccountReference account) { return new SpiAccountReference( account.getAspspAccountId(), account.getResourceId(), account.getIban(), account.getBban(), account.getPan(), account.getMaskedPan(), account.getMsisdn(), account.getCurrency()); }  List<SpiAccountReference> mapToSpiAccountReferences(List<AccountReference> references); List<SpiAccountReference> mapToSpiAccountReferencesOrDefault(List<AccountReference> references, List<SpiAccountReference> defaultValue); SpiAccountReference mapToSpiAccountReference(AccountReference account);  }### Answer:
@Test void mapToSpiAccountReference() { AccountReference accountReference = jsonReader.getObjectFromFile("json/service/mapper/spi_xs2a_mappers/account-reference.json", AccountReference.class); SpiAccountReference actual = mapper.mapToSpiAccountReference(accountReference); SpiAccountReference expected = jsonReader.getObjectFromFile("json/service/mapper/spi_xs2a_mappers/spi-account-reference.json", SpiAccountReference.class); assertEquals(expected, actual); }