assertEquals(fn.load(getFloatingIPApi()), Optional.absent());
assertEquals(fn.load(getVpcApi()), Optional.absent());
}
public void testCacheIsFasterWhenNoAnnotationPresent() {
InvocationSuccess keyPairApi = getKeyPairApi();
ImplicitOptionalConverter fn = forApiVersion("2011-07-15");
Stopwatch watch = Stopwatch.createStarted();
fn.apply(keyPairApi);
long first = watch.stop().elapsed(TimeUnit.MICROSECONDS);
watch.reset().start();