}
@Test(expectedExceptions = IllegalArgumentException.class)
public void testauthorizePublicKeyBadFormat() {
AWSEC2TemplateOptions options = new AWSEC2TemplateOptions();
options.authorizePublicKey("whompy");
}
@Test
public void testauthorizePublicKey() throws IOException {
AWSEC2TemplateOptions options = new AWSEC2TemplateOptions();