}
public CBTest() throws Exception {
String chainSpec = System.getProperty("chainSpec");
if (chainSpec == null) {
throw new JiapiException("Missing -DchainSpec=<chainSpec>");
}
String [] chainSpecs = tokenizeRules(chainSpec);
if (chainSpecs.length == 0) {
throw new JiapiException("Empty chainSpec");
}
ChainBuilder cb = new ChainBuilder();
InstrumentorChain chain = cb.createChain(chainSpecs[0]);
InstrumentationDescriptor id = new InstrumentationDescriptor();