/** * @see TemplateOptions#authorizePublicKey */ public static NovaTemplateOptions authorizePublicKey(String rsaKey) { NovaTemplateOptions options = new NovaTemplateOptions(); return NovaTemplateOptions.class.cast(options.authorizePublicKey(rsaKey)); }
/** * @see TemplateOptions#authorizePublicKey */ public static NovaTemplateOptions authorizePublicKey(String rsaKey) { NovaTemplateOptions options = new NovaTemplateOptions(); return NovaTemplateOptions.class.cast(options.authorizePublicKey(rsaKey)); }
/** * @see TemplateOptions#authorizePublicKey */ public static NovaTemplateOptions authorizePublicKey(String rsaKey) { NovaTemplateOptions options = new NovaTemplateOptions(); return NovaTemplateOptions.class.cast(options.authorizePublicKey(rsaKey)); }
/** * @see TemplateOptions#authorizePublicKey */ public static NovaTemplateOptions authorizePublicKey(String rsaKey) { NovaTemplateOptions options = new NovaTemplateOptions(); return NovaTemplateOptions.class.cast(options.authorizePublicKey(rsaKey)); }
/** * @see TemplateOptions#authorizePublicKey */ public static NovaTemplateOptions authorizePublicKey(String rsaKey) { NovaTemplateOptions options = new NovaTemplateOptions(); return NovaTemplateOptions.class.cast(options.authorizePublicKey(rsaKey)); }
/** * @see TemplateOptions#authorizePublicKey */ public static NovaTemplateOptions authorizePublicKey(String rsaKey) { NovaTemplateOptions options = new NovaTemplateOptions(); return NovaTemplateOptions.class.cast(options.authorizePublicKey(rsaKey)); }
@Test(expectedExceptions = IllegalArgumentException.class) public void testauthorizePublicKeyBadFormat() { NovaTemplateOptions options = new NovaTemplateOptions(); options.authorizePublicKey("whompy"); }
@Test(expectedExceptions = IllegalArgumentException.class) public void testauthorizePublicKeyBadFormat() { NovaTemplateOptions options = new NovaTemplateOptions(); options.authorizePublicKey("whompy"); }
@Test public void testauthorizePublicKey() throws IOException { NovaTemplateOptions options = new NovaTemplateOptions(); options.authorizePublicKey("ssh-rsa"); assertEquals(options.getPublicKey(), "ssh-rsa"); }
@Test public void testauthorizePublicKey() throws IOException { NovaTemplateOptions options = new NovaTemplateOptions(); options.authorizePublicKey("ssh-rsa"); assertEquals(options.getPublicKey(), "ssh-rsa"); }