SoftLayerTemplateOptions extends TemplateOptions implements Cloneable { public String getDomainName() { return domainName; }  @Override SoftLayerTemplateOptions clone(); @Override void copyTo(TemplateOptions to); TemplateOptions domainName(String domainName); String getDomainName(); @Override SoftLayerTemplateOptions blockOnPort(int port, int seconds); @Override SoftLayerTemplateOptions inboundPorts(int... ports); @Override SoftLayerTemplateOptions authorizePublicKey(String publicKey); @Override SoftLayerTemplateOptions installPrivateKey(String privateKey); @Override SoftLayerTemplateOptions userMetadata(Map<String, String> userMetadata); @Override SoftLayerTemplateOptions userMetadata(String key, String value); static final SoftLayerTemplateOptions NONE; }
@Test public void testDefaultDomainName() { TemplateOptions options = new SoftLayerTemplateOptions(); assertEquals(options.as(SoftLayerTemplateOptions.class).getDomainName(), "jclouds.org"); }