@Test
public void testGood_Amount() throws CoinURIParseException {

    // Test the decimal parsing
    testObject = new CoinURI(BitcoinMain.get(), BitcoinMain.get().getUriScheme() + ":" + MAINNET_GOOD_ADDRESS
            + "?amount=6543210.12345678");
    assertEquals(654321012345678L, testObject.getAmount().value);

    // Test the decimal parsing
    testObject = new CoinURI(BitcoinMain.get(), BitcoinMain.get().getUriScheme() + ":" + MAINNET_GOOD_ADDRESS
            + "?amount=.12345678");
    assertEquals(12345678L, testObject.getAmount().value);

    // Test the integer parsing
    testObject = new CoinURI(BitcoinMain.get(), BitcoinMain.get().getUriScheme() + ":" + MAINNET_GOOD_ADDRESS
            + "?amount=6543210");
    assertEquals(654321000000000L, testObject.getAmount().value);
}