### Question:
UriUtil { public static boolean isLightningUri(@NonNull String data) { return hasPrefix(URI_PREFIX_LIGHTNING, data); }  static String generateLightningUri(@NonNull String data); static String generateBitcoinUri(@NonNull String data); static String generateLndConnctUri(@NonNull String data); static boolean isLightningUri(@NonNull String data); static boolean isBitcoinUri(@NonNull String data); static boolean isLNDConnectUri(@NonNull String data); static String removeURI(@NonNull String data); static String URI_PREFIX_LIGHTNING; static String URI_PREFIX_BITCOIN; static String URI_PREFIX_LNDCONNECT; }### Answer:
@Test public void givenLightningInvoice_whenIsLightningUri_ThenIsLightningUriReturnFalse() { String invoice = "lnbc1pvjluezpp5qqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqypqdpl2pkx2ctnv5sxxmmwwd5kgetjypeh2ursdae8g6twvus8g6rfwvs8qun0dfjkxaq8rkx3yf5tcsyz3d73gafnh3cax9rn449d9p5uxz9ezhhypd0elx87sjle52x86fux2ypatgddc6k63n7erqz25le42c4u4ecky03ylcqca784w"; assertFalse(UriUtil.isLightningUri(invoice)); }
@Test public void givenLightningUri_whenIsLightningUri_ThenIsLightningUriReturnTrue() { String lightningUri = "lightning:lnbc1pvjluezpp5qqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqqqsyqcyq5rqwzqfqypqdpl2pkx2ctnv5sxxmmwwd5kgetjypeh2ursdae8g6twvus8g6rfwvs8qun0dfjkxaq8rkx3yf5tcsyz3d73gafnh3cax9rn449d9p5uxz9ezhhypd0elx87sjle52x86fux2ypatgddc6k63n7erqz25le42c4u4ecky03ylcqca784w"; assertTrue(UriUtil.isLightningUri(lightningUri)); }