BitcoinURI { public String getLabel() { return (String) parameterMap.get(FIELD_LABEL); } BitcoinURI(String uri);  BitcoinURI(@Nullable NetworkParameters params, String input); @Nullable Address getAddress(); Coin getAmount(); String getLabel(); String getMessage(); boolean getRequestInstantSend(); final String getPaymentRequestUrl(); List<String> getPaymentRequestUrls(); Object getParameterByName(String name); @Override String toString(); static String convertToBitcoinURI(Address address, Coin amount,
                                             String label, String message); static String convertToBitcoinURI(NetworkParameters params,
                                             String address, @Nullable Coin amount,
                                             @Nullable String label, @Nullable String message); static final String FIELD_MESSAGE; static final String FIELD_LABEL; static final String FIELD_AMOUNT; static final String FIELD_ADDRESS; static final String FIELD_PAYMENT_REQUEST_URL; static final String FIELD_INSTANTSEND; @Deprecated
    static final String BITCOIN_SCHEME; }
@Test public void testGood_Label() throws BitcoinURIParseException { testObject = new BitcoinURI(MAINNET, BITCOIN_SCHEME + ":" + MAINNET_GOOD_ADDRESS + "?label=Hello%20World"); assertEquals("Hello World", testObject.getLabel()); }
@Test public void testEmpty_Label() throws BitcoinURIParseException { assertNull(new BitcoinURI(MAINNET, BITCOIN_SCHEME + ":" + MAINNET_GOOD_ADDRESS + "?label=").getLabel()); }
@Test public void testGood_ManyEquals() throws BitcoinURIParseException { assertEquals("aardvark=zebra", new BitcoinURI(MAINNET, BITCOIN_SCHEME + ":" + MAINNET_GOOD_ADDRESS + "?label=aardvark=zebra").getLabel()); }