@Test public void testBad_Duplicated() throws UlordURIParseException { try { testObject = new UlordURI(MAINNET, BITCOIN_SCHEME + ":" + MAINNET_GOOD_ADDRESS + "?address=aardvark"); fail("Expecting UlordURIParseException"); } catch (UlordURIParseException e) { assertTrue(e.getMessage().contains("address")); } }
public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); }
UlordURI { public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); } }
UlordURI { public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); } UlordURI(String uri);  UlordURI(@Nullable NetworkParameters params, String input); }
UlordURI { public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); } UlordURI(String uri);  UlordURI(@Nullable NetworkParameters params, String input); @Nullable Address getAddress(); Coin getAmount(); String getLabel(); String getMessage(); 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); }
UlordURI { public String getMessage() { return (String) parameterMap.get(FIELD_MESSAGE); } UlordURI(String uri);  UlordURI(@Nullable NetworkParameters params, String input); @Nullable Address getAddress(); Coin getAmount(); String getLabel(); String getMessage(); 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; @Deprecated
    static final String BITCOIN_SCHEME; }