@Test
public void testBad_TooManyQuestionMarks() throws CoinURIParseException {

    try {
        testObject = new CoinURI(BitcoinMain.get(), BitcoinMain.get().getUriScheme() + ":" + MAINNET_GOOD_ADDRESS
                + "?label=aardvark?message=zebra");
        fail("Expecting CoinURIParseException");
    } catch (CoinURIParseException e) {
        assertTrue(e.getMessage().contains("Too many question marks"));
    }
}