@Test
public void testWriteToFile() {

  File fileToWrite = createDummyFile();
  String fileContent = "content";
  fileManager.writeToFile(fileToWrite, fileContent);
  assertThat(fileToWrite.exists(), is(true));
}