mock message bus saves published messages for later perusal