Checking the messages got on a stream.