public async Task Shows_not_supported_exception_when_stdin_not_allowed_and_password_is_requested()
        {
            var scheduler = CreateScheduler();
            var request   = ZeroMQMessage.Create(new ExecuteRequest("password()", allowStdin: false));
            var context   = new JupyterRequestContext(JupyterMessageSender, request);

            await scheduler.Schedule(context);

            await context.Done().Timeout(5.Seconds());

            var traceback = JupyterMessageSender
                            .PubSubMessages
                            .Should()
                            .ContainSingle(e => e is Error)
                            .Which
                            .As <Error>()
                            .Traceback;

            var errorMessage = string.Join("\n", traceback);

            errorMessage
            .Should()
            .StartWith("System.NotSupportedException: Password request is not supported");
        }