/**
  * @author Andreas Glaser
  */
 public function testInvalidInput()
 {
     $this->setExpectedException('RuntimeException');
     $flagHelper = FlagHelper::factory();
     $testObject = 'invalid';
     $flagHelper->flagSet('my-flag-1', $testObject);
     $flagHelper->flagExists('my-flag-1', $testObject);
     $flagHelper->flagRemove('my-flag-1', $testObject);
     $flagHelper->flagExistsAndRemove('my-flag-1', $testObject);
 }
 /**
  * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
  */
 public function __construct(ContainerInterface $container)
 {
     $this->setContainer($container);
     $this->config = $this->container->getParameter('andreas_glaser_dc_event');
     $this->flagHelper = FlagHelper::factory();
 }