@Test(expected = Ex.UnknownUTXO.class)
public void missingUTXO() throws Exception {

    // Check the exception thrown if the pledge seems to be double spent away or is just invalid.
    TxData pledgeTX = makePledge(details, 0.5);
    LHProtos.Pledge.Builder pledge = LHProtos.Pledge.newBuilder();
    pledge.addTransactions(ByteString.copyFrom(pledgeTX.pledge.bitcoinSerialize()));
    pledge.getPledgeDetailsBuilder().setTotalInputValue(0);
    pledge.getPledgeDetailsBuilder().setTimestamp(Utils.currentTimeSeconds());
    pledge.getPledgeDetailsBuilder().setProjectId("abc");
    pledge.getPledgeDetailsBuilder();
    Project project = new Project(projectBuilder.build());
    checkedGet(project.verifyPledge(outPoints -> completedFuture(EMPTY_LIST), pledge.build()));
}