for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* This file is part of the `tvi/monitor-bundle` project.
*
* (c) https://github.com/turnaev/monitor-bundle/graphs/contributors
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace Tvi\MonitorBundle\Check\rabbitmq\QueueSize;
use Tvi\MonitorBundle\Check\CheckInterface;
use Tvi\MonitorBundle\Test\Check\CheckTestCase;
use ZendDiagnostics\Result\ResultInterface;
* @author Vladimir Turnaev <[email protected]>
* @internal
class Test extends CheckTestCase
{
public function test_plugin()
$this->iterateConfTest(__DIR__.'/config.example.yml');
}
public function test_check()
$check = new Check();
$this->assertInstanceOf(CheckInterface::class, $check);
$this->assertInstanceOf(ResultInterface::class, $check->check());