replay(knownImage);
replay(defaultOptions);
replay(optionsProvider);
replay(templateBuilderProvider);
TemplateBuilderImpl template = createTemplateBuilder(knownImage, locations, images, sizes, region,
optionsProvider, templateBuilderProvider);
try {
template.imageId("ami").build();
fail("Expected IllegalArgumentException");
} catch (IllegalArgumentException e) {
}
verify(knownImage);