### Question:
PeercoinURI { public String getLabel() { return (String) parameterMap.get(FIELD_LABEL); } PeercoinURI(String uri);  PeercoinURI(
        NetworkParameters params, String input, @Nullable String prefix
    );  PeercoinURI(NetworkParameters params, String input); @Nullable Address getAddress(); Monetary getAmount(); String getLabel(); String getMessage(); String getPaymentRequestUrl(); List<String> getPaymentRequestUrls(); Object getParameterByName(String name); @Override String toString(); static String convertToPeercoinURI(Address address, Coin amount, String label, String message); static String convertToPeercoinURI(
        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[] PEERCOIN_SCHEMES; static final String PREFERED_PEERCOIN_SCHEME; }### Answer:
@Test public void testGood_Label() throws PeercoinURIParseException { testObject = new PeercoinURI(MainNetParams.get(), PeercoinURI.PREFERED_PEERCOIN_SCHEME + ":" + MAINNET_GOOD_ADDRESS + "?label=Hello%20World"); assertEquals("Hello World", testObject.getLabel()); }
@Test public void testEmpty_Label() throws PeercoinURIParseException { assertNull(new PeercoinURI(MainNetParams.get(), PeercoinURI.PREFERED_PEERCOIN_SCHEME + ":" + MAINNET_GOOD_ADDRESS + "?label=").getLabel()); }
@Test public void testGood_ManyEquals() throws PeercoinURIParseException { assertEquals("aardvark=zebra", new PeercoinURI(MainNetParams.get(), PeercoinURI.PREFERED_PEERCOIN_SCHEME + ":" + MAINNET_GOOD_ADDRESS + "?label=aardvark=zebra").getLabel()); }