@Test
void preexistingFileOnCreate() throws IOException {

    File f = File.createTempFile("robozonky-", ".keystore");
    assertThatThrownBy(() -> KeyStoreHandler.create(f))
        .isInstanceOf(FileAlreadyExistsException.class);
}