Cascade\Tests\Config\Loader\ClassLoader\Resolver\ExtraOptionsResolverTest::testResolve PHP Method

testResolve() public method

Test resolving with valid options
public testResolve ( )
    public function testResolve()
    {
        $this->assertEquals(array_combine($this->params, array('hello', 'there')), $this->resolver->resolve(array('optionalB' => 'there', 'optionalA' => 'hello')));
        // Resolve an empty array (edge case)
        $this->assertEquals(array(), $this->resolver->resolve(array()));
    }