@Subscribe
    public void collectString(String string) {
        collectedStrings.add(string);
    }
Helper class used by test inside a jar.
EventBusTestSubscriberInJar/src/org/greenrobot/eventbus/SubscriberInJar.java