for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Deployee\Components\Plugins;
use Deployee\Components\Plugins\Locator\PluginLocator;
use PHPUnit\Framework\TestCase;
use UnitTestPlugins\AwesomeTest\AwesomeTestPlugin;
use UnitTestPlugins\GreatTest\GreatTestPlugin;
use UnitTestPlugins\SuperTest\SuperTestPlugin;
class PluginLocatorTest extends TestCase
{
public function testLocatePlugins()
$locator = new PluginLocator();
$plugins = $locator->locatePlugins();
$this->assertContains(SuperTestPlugin::class, $plugins);
$this->assertContains(AwesomeTestPlugin::class, $plugins);
$this->assertContains(GreatTestPlugin::class, $plugins);
}