@Test
void wrongFormatKeyStoreProvided() throws Exception {

    final File tmp = File.createTempFile("robozonky-", ".keystore"); // empty key store
    final char[] password = "pass".toCharArray();
    final CommandLine cli = SecretProviderFactoryTest.mockCli(tmp, password);
    assertThat(SecretProviderFactory.getSecretProvider(cli)).isEmpty();
    assertThat(password).isEqualTo("    ".toCharArray());
}