    @Test
    public void testPost() {

        Bus bus = new Bus.Builder()
                .setMainScheduler(Schedulers.trampoline())
                .setBackgroundScheduler(Schedulers.trampoline())
                .setCurrentScheduler(Schedulers.trampoline())
                .build();

        String uid = UUID.randomUUID().toString();
        setTestUid(uid);

        bus.register(subscriptionMain);
        bus.register(subscriptionBackground);
        bus.register(subscriptionCurrent);

        bus.post(new Foo(uid));
        setTestUid(null);

        bus.unregister(subscriptionMain);
        bus.unregister(subscriptionBackground);
        bus.unregister(subscriptionCurrent);
        bus.post(new Foo("FAIL"));
        assertEquals(3, eventCount);
    }