@Test(expectedExceptions = RuntimeException.class, expectedExceptionsMessageRegExp = "Unable to load chainr spec file.*") public void testGetChainrInstanceFromFileWithInstantiator_error() throws Exception { ChainrFactory.fromFile( malformedFile, new DefaultChainrInstantiator() ); }
public static Chainr fromFile( File chainrSpecFile ) { return fromFile( chainrSpecFile, null ); }
ChainrFactory { public static Chainr fromFile( File chainrSpecFile ) { return fromFile( chainrSpecFile, null ); } }
ChainrFactory { public static Chainr fromFile( File chainrSpecFile ) { return fromFile( chainrSpecFile, null ); }  }
ChainrFactory { public static Chainr fromFile( File chainrSpecFile ) { return fromFile( chainrSpecFile, null ); }  static Chainr fromClassPath( String chainrSpecClassPath ); static Chainr fromClassPath( String chainrSpecClassPath, ChainrInstantiator chainrInstantiator ); static Chainr fromFileSystem( String chainrSpecFilePath ); static Chainr fromFileSystem( String chainrSpecFilePath, ChainrInstantiator chainrInstantiator ); static Chainr fromFile( File chainrSpecFile ); static Chainr fromFile( File chainrSpecFile, ChainrInstantiator chainrInstantiator ); }
ChainrFactory { public static Chainr fromFile( File chainrSpecFile ) { return fromFile( chainrSpecFile, null ); }  static Chainr fromClassPath( String chainrSpecClassPath ); static Chainr fromClassPath( String chainrSpecClassPath, ChainrInstantiator chainrInstantiator ); static Chainr fromFileSystem( String chainrSpecFilePath ); static Chainr fromFileSystem( String chainrSpecFilePath, ChainrInstantiator chainrInstantiator ); static Chainr fromFile( File chainrSpecFile ); static Chainr fromFile( File chainrSpecFile, ChainrInstantiator chainrInstantiator );  }