for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ACFComposer\Tests;
require_once dirname(__DIR__) . '/lib/ACFComposer/ResolveConfig.php';
use Exception;
use ACFComposer\ResolveConfig;
final class ResolveConfigForLocationTest extends TestCase
{
public function testForLocationWithValidConfig()
$config = [
'param' => 'someParam',
'operator' => 'someOperator',
'value' => 'someValue'
];
$output = ResolveConfig::forLocation($config);
$this->assertEquals($config, $output);
}
public function testForLocationFailsWithoutParam()
$this->expectException(Exception::class);
ResolveConfig::forLocation($config);
public function testForLocationFailsWithoutOperator()
public function testForLocationFailsWithoutValue()