void () { myBusConnection.disconnect(); myBusConnection = null; assertTrue(myExpectedEventWasProduced); assertFalse(myUnexpectedEventWasProduced); myExpectedEventWasProduced = false; myUnexpectedEventWasProduced = false; }