more succinct would be:
~~~ scala
val q = expectMsgType[MessageQueue]
types forall (_ isInstance q)
~~~