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\fs\DirWritable;
use PHPUnit\Framework\TestCase;
use ZendDiagnostics\Result\ResultInterface;
use Tvi\MonitorBundle\Check\CheckInterface;
* @author Vladimir Turnaev <[email protected]>
class Test extends TestCase
{
* @var Check
protected $checker;
public function setUp()
$this->checker = new Check('/tmp');
}
public function testCheck()
$this->assertInstanceOf(CheckInterface::class, $this->checker);
$this->assertInstanceOf(ResultInterface::class, $this->checker->check());