@Test(expected = Ex.NonStandardInput.class)
public void nonStandardInputRegularOutput() throws Exception {

    // Unconsumed stack items are not allowed.
    TxData pledgeTX = makePledge(details, 0.1);
    TransactionInput input = pledgeTX.pledge.getInput(0);
    input.setScriptSig(
            new ScriptBuilder(input.getScriptSig())
                    .data(0, new byte[]{})
                    .build()
    );
    LHProtos.Pledge.Builder pledge = pledgeToBuilder(pledgeTX, false);
    Project project = new Project(projectBuilder.build());
    List<TransactionOutput> outputs = ImmutableList.of(pledgeTX.fakeStub.getOutput(0).duplicateDetached());
    checkedGet(project.verifyPledge(outPoints -> completedFuture(outputs), pledge.build()));
}