@Test
public void testStoreDataFile() {

    final String path = "/path/to/wherever";
    final DataFile dataFile = new DataFile(path, new SensorBuilder().name("Firlefanz").build());
    when(mockStorage.getDatafile(path)).thenReturn(null);
    MmdIngestionTool.storeDataFile(dataFile, mockStorage);
    verify(mockStorage, times(1)).getDatafile(path);
    verify(mockStorage, times(1)).store(dataFile);
    verifyNoMoreInteractions(mockStorage);
}