log.info("Method stats before invocation: " + methodStats);
Assert.assertTrue("Method stats should be empty", methodStats.isEmpty());
// Invoke upon the EJB
TestRemoteBusiness remoteBusiness = (TestRemoteBusiness) getInitialContext().lookup(ejbName + "/remote");
remoteBusiness.echo("Some test String");
// Ensure the stats reflect the invocation
invocationStats = getInvocationStats(component);
methodStats = invocationStats.methodStats;
log.info("Method stats after invocation: " + methodStats);