public void Should_create_report_from_parse_exception_when_content_is_null()
        {
            var fakeClipboard = A.Fake<ISystemClipboard>();
            var command = new CopyErrorReportToClipboardCommand(fakeClipboard);

            command.Execute(new ParseException("Error message", null, null));

            A.CallTo(() => fakeClipboard.ReplaceWith(A<string>.That.Not.IsNullOrEmpty())).MustHaveHappened(Repeated.Exactly.Once);
        }
        public void Should_create_report_from_empty_exception()
        {
            var fakeClipboard = A.Fake<ISystemClipboard>();
            var command = new CopyErrorReportToClipboardCommand(fakeClipboard);

            command.Execute(new Exception());

            A.CallTo(() => fakeClipboard.ReplaceWith(A<string>.That.Not.IsNullOrEmpty())).MustHaveHappened(Repeated.Exactly.Once);
        }