public void ProcessNotification_InvalidSeverity()
        {
            var unityConsoleOutput = Substitute.For<IUnityConsoleOutput>();
            var unityConsole = new UnityConsole(unityConsoleOutput);

            unityConsole.ProcessNotification(Notification.Create("message", (Severity) 100));
        }
        public void ProcessNotification_WarningSeverity()
        {
            var unityConsoleOutput = Substitute.For<IUnityConsoleOutput>();
            var unityConsole = new UnityConsole(unityConsoleOutput);

            unityConsole.ProcessNotification(Notification.Create("message", Severity.Warning));

            unityConsoleOutput.Received(1).Warning(Arg.Any<string>());
            unityConsoleOutput.DidNotReceive().Log(Arg.Any<string>());
            unityConsoleOutput.DidNotReceive().Error(Arg.Any<string>());
        }
        public void Shutdown_CheckMessage()
        {
            var unityConsoleOutput = Substitute.For<IUnityConsoleOutput>();
            var unityConsole = new UnityConsole(unityConsoleOutput);

            unityConsole.Shutdown();

            unityConsoleOutput.Received(1).Log("UnityConsole notification processor shut down successfully.");
        }