### Question:
UriUtil { public static boolean isBitcoinUri(@NonNull String data) { return hasPrefix(URI_PREFIX_BITCOIN, 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 givenBitcoinRequest_whenIsBitcoinUri_ThenIsBitcoinUriReturnFalse() { String request = "175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=20.3&label=Luke-Jr"; assertFalse(UriUtil.isBitcoinUri(request)); }
@Test public void givenBitcoinUri_whenIsBitcoinUri_ThenIsBitcoinUriReturnTrue() { String bitcoinUri = "bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=20.3&label=Luke-Jr"; assertTrue(UriUtil.isBitcoinUri(bitcoinUri)); }