public function dynamicRoutePartResolvesSimpleValueArray()
{
$this->dynamicRoutPart->setName('foo');
$routeValues = ['foo' => 'bar'];
$this->assertTrue($this->dynamicRoutPart->resolve($routeValues));
$this->assertEquals('bar', $this->dynamicRoutPart->getValue(), 'Dynamic Route Part should resolve if an element with the same name exists in $routeValues.');
}