public void Test_HTMLWindow_WebCoreShutDown_Watcher_Exception() { IWebSessionWatcher watch = Substitute.For <IWebSessionWatcher>(); var exp = Test_HTMLWindow_WebCoreShutDown_Base_Exception(watch); watch.Received().LogCritical("Critical: WebCore ShuttingDown!!"); watch.Received().OnSessionError(exp, Arg.Any <Action>()); }
public void Test_HTMLWindowRecovery_Capacity_Watcher() { IWebSessionWatcher watch = Substitute.For <IWebSessionWatcher>(); Test_HTMLWindowRecovery_Capacity_Base(watch); watch.Received().LogCritical(Arg.Any <string>()); }