@Test(expected = Ex.NoTransactionData.class)
public void badPledgeNoTx() throws Exception {

    LHProtos.Pledge.Builder pledge = LHProtos.Pledge.newBuilder();
    pledge.getPledgeDetailsBuilder().setTotalInputValue(0);
    pledge.getPledgeDetailsBuilder().setProjectId("abc");
    pledge.getPledgeDetailsBuilder().setTimestamp(Utils.currentTimeSeconds());
    pledge.getPledgeDetailsBuilder();
    Project project = new Project(projectBuilder.build());
    checkedGet(project.verifyPledge(outPoints -> completedFuture(EMPTY_LIST), pledge.build()));
}