public void FormatOnPasteStatus() {
ITextBuffer textBuffer = new TextBufferMock(string.Empty, RContentTypeDefinition.ContentType);
ITextView textView = new TextViewMock(textBuffer);
var clipboard = new ClipboardDataProvider();
using (var command = new FormatOnPasteCommand(textView, textBuffer, _editorShell)) {
command.ClipboardDataProvider = clipboard;
var status = command.Status(VSConstants.GUID_VSStandardCommandSet97, (int)VSConstants.VSStd97CmdID.Paste);
status.Should().Be(CommandStatus.NotSupported);
clipboard.Format = DataFormats.UnicodeText;
clipboard.Data = "data";
status = command.Status(VSConstants.GUID_VSStandardCommandSet97, (int)VSConstants.VSStd97CmdID.Paste);
status.Should().Be(CommandStatus.SupportedAndEnabled);
}
}