Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
33 lines (28 sloc) 677 Bytes
<?php
namespace Oro\Bundle\MessageQueueBundle\Test\Functional;
/**
* It is expected that this trait will be used in classes that have "getContainer" static method.
* E.g. classes derived from Oro\Bundle\TestFrameworkBundle\Test\WebTestCase.
*/
trait MessageQueueExtension
{
use MessageQueueAssertTrait;
/**
* Removes all sent messages.
*
* @afterInitClient
*/
public function setUpMessageCollector()
{
$this->clearMessageCollector();
}
/**
* Removes all sent messages.
*
* After triggered after client removed
*/
public function tearDown()
{
$this->clearMessageCollector();
}
}
You can’t perform that action at this time.