public void OnDragInfoShouldFillEventParams()
        {
            var item = new NodeDestinationCommandDragDropBehavior();
            item.Attach(new NodeList());
            item.DragCommand = new ActionCommand<object>();
            
            var args = Mock.Create<DragDropEventArgs>(null, null, new DragDropOptions());
            args.Source = new TextBlock { DataContext = Mock.Create<INodeViewModel>() };
            
            Mock.ArrangeSet(() => args.Handled = true).DoNothing().OccursOnce();

            item.OnDragInfo(new object(), args);

            Assert.IsNotNull(args.Options.Payload);
            Assert.IsNotNull(args.Options.DragCue);
        }
 public void OnDragInfoShouldThrowExceptionIfArgsIsNull()
 {
     var item = new NodeDestinationCommandDragDropBehavior();
     item.OnDragInfo(new object(), null);
 }