public void TestProcessDefinitionStoreFindByIdAsync2() { Task task; ProcessDefinitionStore store = new ProcessDefinitionStore(new BpmDbContext()); task = Task.Run(() => store.FindByIdAsync("1")); task.Wait(); store.Dispose(); }
public void TestProcessDefinitionStoreFindById2() { BpmDbContext context = new BpmDbContext(); context.Database.Log = s => Debug.WriteLine(s); ProcessDefinitionStore store = new ProcessDefinitionStore(context); store.FindByIdAsync("1"); store.Dispose(); }