AuroraLocal bean = lookup("AuroraBean/local", AuroraLocal.class);
InvocationStatistics stats = container.getInvokeStats();
// Since we don't have a prince at hand, lets not sleep forever
bean.sleep(100, MILLISECONDS);
InvocationStatistics.TimeStatistic methodStat = stats.getStats().get("sleep");
assertNotNull(methodStat);
long count = methodStat.getCount();
assertEquals(1, count);