public function testConfigureHandler()
{
$handlerConfiguration = $this->provideHandlerConfiguration($this->container) + array('name' => 'my_test_handler', 'type' => 'test_handler');
$handlerServiceId = $this->registerHandler($handlerConfiguration['name']);
$this->factory->configureHandler($this->container->getDefinition($handlerServiceId), $handlerConfiguration);
$this->validateConfiguredHandler($handlerServiceId);
if ($this->factory instanceof ContainerAwareInterface) {
$this->validateConfiguredContainer();
}
}