public void Drop_WhenStatesDraggedItemsIsNull_ThrowsException() { //Arrange var behavior = new CustomGroupListBoxDragDropBehavior(); var stateMock = Mock.Create<DragDropState>(); Mock.Arrange(() => stateMock.DraggedItems).Returns((IEnumerable) null); //Act behavior.Drop(stateMock); }
public void Drop_WhenStateIsNull_ThrowsException() { //Arrange var behavior = new CustomGroupListBoxDragDropBehavior(); //Act behavior.Drop(null); }