@Override
    public void handle(InputStream stream) throws IOException {
        FileUtils.copyInputStreamToFile(stream, checksumFile);
    }
@Test
    public void shouldStoreTheMd5ChecksumOnTheAgent() throws IOException {
        checksumFileHandler.handle(new ByteArrayInputStream("Hello World".getBytes()));
        assertThat(FileUtils.readFileToString(file, UTF_8), is("Hello World"));
    }