@Test
public void testStartup() throws Exception {

    TransientEngineFactory factory = new TransientEngineFactory() {
        @Override
        protected File getWorkflowSourceDirectory() {
            return new File("./src/test/workflow");
        }
    };
    TransientScottyEngine engine = factory.create();
    try {
        org.junit.Assert.assertEquals("STARTED", engine.getState());
        engine.run("test.HelloWorldWorkflow", null);
    } finally {
        engine.shutdown();
    }
}