ViewRoleSelection implements Transferable { @Override public DataFlavor[] getTransferDataFlavors() { return supportedDataFlavors; } ViewRoleSelection(View[] transferredViewRoles); @Override Object getTransferData(DataFlavor flavor); @Override DataFlavor[] getTransferDataFlavors(); @Override boolean isDataFlavorSupported(DataFlavor flavor);  }
@Test public void testGetDataTransferFlavors() { assertNotNull(subjectClass.getTransferDataFlavors()); }