ChainrSpec chainrSpec = new ChainrSpec( chainrSpecObj );
ChainrEntry chainrEntry = chainrSpec.getChainrEntries().get( 0 );
DefaultChainrInstantiator instantiator = new DefaultChainrInstantiator();
// This should fail
instantiator.hydrateTransform( chainrEntry );
}
@Test(dataProvider = "badFormatSpecs", expectedExceptions = SpecException.class )
public void staticChainrMethod( Object chainrSpec ) {
Chainr.fromSpec( chainrSpec ); // should fail when parsing spec