protected void waitForReceivedEventCount(int expectedEventCount) {
        while (eventsReceivedCount.get() < expectedEventCount) {
            try {
                Thread.sleep(1);
            } catch (InterruptedException e) {
                throw new RuntimeException(e);
            }
        }
    }
returns the display name of the test. e.g. EventBus
EventBusPerformance/src/org/greenrobot/eventbusperf/Test.java