Mockito.when(mockDTDE.getTransferable()).thenReturn(mockTransferable);
Mockito.when(mockTransferable.isDataFlavorSupported(View.DATA_FLAVOR)).thenReturn(true);
Mockito.when(mockDTDE.getLocation()).thenReturn(new Point(0,0));
Mockito.when(mockTransferable.getTransferData(View.DATA_FLAVOR)).thenReturn(mockViews);
dt.drop(mockDTDE);
}
// Can't mock for this test due to calls to addDelegateComponent,
// which is final and eventually references a field which needs to be
// initialized by a real constructor call.