IFileTransferConnectStartEvent.class);
assertHasNoEvent(startEvents,
IIncomingFileTransferReceiveStartEvent.class);
assertHasNoEvent(dataEvents,
IIncomingFileTransferReceiveDataEvent.class);
IIncomingFileTransferReceiveDoneEvent doneEvent = getDoneEvent();
assertTrue(doneEvent.getException().toString(),
doneEvent.getException() instanceof UserCancelledException);
assertTrue(doneEvent.getSource().isDone());
assertSame(doneEvent.getException(), doneEvent.getSource()
.getException());
assertNull(tmpFile);
assertFalse(socketInReadWrapper.inRead);