@Test
public void cancelShouldCancelIfFileReceiverIsAccepted() {

    final User someOne = setupSomeOne();
    final FileReceiver fileReceiver = setupFileReceiver(someOne);
    when(fileReceiver.isAccepted()).thenReturn(true);
    parser.parse("/cancel SomeOne 1");
    verify(transferList).getFileTransfer(someOne, 1);
    verifyZeroInteractions(messageController);
    verify(fileReceiver).cancel();
}