### Question:
AndroidNfcReader extends AbstractSelectionLocalReader implements NfcAdapter.ReaderCallback { public String printTagId() { if (tagProxy != null && tagProxy.getTag() != null) { StringBuilder techList = new StringBuilder(); String[] techs = tagProxy.getTag().getTechList(); for (int i = 0; i < techs.length; i++) { techList.append(techs[i].replace("android.nfc.tech.", "")); if (i + 1 < techs.length) techList.append(", "); } StringBuilder tagId = new StringBuilder(); for (byte b : tagProxy.getTag().getId()) { tagId.append(String.format("%02X ", b)); } return tagId + " - " + techList; } else { return "no-tag"; } } AndroidNfcReader(); Map<String, String> getParameters(); @Override void setParameter(String key, String value); @Override TransmissionMode getTransmissionMode(); @Override void onTagDiscovered(Tag tag); String printTagId(); static final String FLAG_READER_SKIP_NDEF_CHECK; static final String FLAG_READER_NO_PLATFORM_SOUNDS; static final String FLAG_READER_PRESENCE_CHECK_DELAY; }### Answer:
@Test public void printTagId() { reader.printTagId(); Assert.assertTrue(true); }