@Test(expectedExceptions = IllegalStateException.class)
public void testkeyPairAndNoKeyPair() {
AWSEC2TemplateOptions options = new AWSEC2TemplateOptions();
options.keyPair("mykeypair");
options.noKeyPair();
}
@Test(expectedExceptions = IllegalStateException.class)
public void testNoKeyPairAndKeyPair() {
AWSEC2TemplateOptions options = new AWSEC2TemplateOptions();