### Question:
UriUtil { public static String generateBitcoinUri(@NonNull String data) { if (isBitcoinUri(data)) { return data; } return 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 givenBitcoinUri_whenGenerateBitcoinUri_ThenDidNotAddPrefix() { String bitcoinUri = "bitcoin:175tWpb8K1S7NmH4Zx6rewF9WQrcZv245W?amount=20.3&label=Luke-Jr"; String bitcoinUriGenerated = UriUtil.generateBitcoinUri(bitcoinUri); assertEquals(countOfOccurrences(bitcoinUriGenerated, UriUtil.URI_PREFIX_BITCOIN), 1); }