public JobHostTest() { _shutdownWatcherDouble = new WebJobShutdownWatcherDouble(); _shutdownHandleDouble = new ShutdownHandleDouble(); _host = new JobHost(_shutdownWatcherDouble, new ShutdownHandleDoubleFactory(_shutdownHandleDouble), default); _doer = new Doer(); }
public ServiceHostTest() { _shutdownWatcherDouble = new WebJobShutdownWatcherDouble(); _doerService = new DoerService(); _shutdownHandleDouble = new ShutdownHandleDouble(); _host = new ServiceHost(_doerService, _shutdownWatcherDouble, new ShutdownHandleDoubleFactory(_shutdownHandleDouble), default); }