--TEST-- Check stomp_unsubscribe --SKIPIF-- --FILE-- unsubscribe('', array()); } catch(StompException $e) { echo $e->getMessage(); } $s->unsubscribe('/queue/test', 'string'); ?> --EXPECTF-- Destination can not be empty Warning: Stomp::unsubscribe() expects parameter 2 to be array, string given in %s on line %d