@Test
public void testTransientProviderOnlyConfig() throws Exception {

  String[] args1 = {"create", "key1"};
  
  int rc = 0;
  KeyShell ks = new KeyShell();
  Configuration config = new Configuration();
  config.set(KeyProviderFactory.KEY_PROVIDER_PATH, "user:///");
  ks.setConf(config);
  rc = ks.run(args1);
  assertEquals(-1, rc);
  assertTrue(outContent.toString().contains("There are no valid " +
  		"KeyProviders configured."));
}