Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (26 sloc) 502 Bytes
<?php
namespace Oro\Bundle\MessageQueueBundle\Test\Unit;
trait MessageQueueExtension
{
use MessageQueueAssertTrait;
/**
* Removes all sent messages.
*
* @before
*/
public function setUpMessageCollector()
{
self::getMessageCollector()
->clear();
}
/**
* Removes all sent messages.
*
* @after
*/
public function tearDownMessageCollector()
{
self::getMessageCollector()
->clear();
}
}
You can’t perform that action at this time.