Skip to content

Instantly share code, notes, and snippets.

@GraemeF
Created September 22, 2010 10:35
Show Gist options
  • Save GraemeF/591479 to your computer and use it in GitHub Desktop.
Save GraemeF/591479 to your computer and use it in GitHub Desktop.
PasteNodesCommand test = BuildDefaultTestSubject();
bool eventRaised = false;
test.CanExecuteChanged += (sender, args) => eventRaised = true;
ClipboardHasItemsChangesTo(true);
Assert.IsTrue(eventRaised);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment