InstantiateProposalBuilder extends LSCCProposalBuilder { @Override public FabricProposal.Proposal build() throws ProposalException { constructInstantiateProposal(); return super.build(); } protected  InstantiateProposalBuilder(); void setTransientMap(Map<String, byte[]> transientMap); static InstantiateProposalBuilder newBuilder(); InstantiateProposalBuilder chaincodePath(String chaincodePath); InstantiateProposalBuilder chaincodeName(String chaincodeName); void chaincodEndorsementPolicy(ChaincodeEndorsementPolicy policy); InstantiateProposalBuilder argss(List<String> argList); @Override FabricProposal.Proposal build(); void chaincodeVersion(String chaincodeVersion);  }
@Test public void testBuild() throws Exception { thrown.expect(ProposalException.class); thrown.expectMessage("IO Error"); InstantiateProposalBuilder builder = InstantiateProposalBuilder.newBuilder(); builder.build(); }