@Test
public void shouldCopyLargeFile() throws IOException {
File largeFile = temp.newFile("large.dat");
byte[] expected = writeRandomBytes(largeFile, LARGE_FILE_SIZE);
OverthereFile remoteLargeFile = connection.getTempFile("large.dat");
LocalFile.valueOf(largeFile).copyTo(remoteLargeFile);
byte[] actual = readFile(remoteLargeFile);
assertThat("Data read is not identical to data written", Arrays.equals(actual, expected), equalTo(true));
}