@Test(expected = VerificationException.DuplicatedOutPoint.class)
public void duplicatedOutpoints() throws Exception {

    // Verify that the pledge we've been given doesn't contain multiple inputs that connect to the same output.
    // This would represent a malicious attempt to make us think we received more pledges than we really did.
    TxData pledgeTX = makePledge(details, 0.1);
    pledgeTX.pledge.addInput(pledgeTX.pledge.getInput(0).duplicateDetached());
    Project project = new Project(projectBuilder.build());
    project.fastSanityCheck(pledgeToBuilder(pledgeTX, true).build());
}