/**
  * @param \Concrete\Core\Http\Middleware\DelegateInterface $frame
  * @return Response
  */
 public function process(Request $request, DelegateInterface $frame)
 {
     $response = $frame->next($request);
     if ($response->headers->has('X-Frame-Options') === false) {
         $x_frame_options = $this->config->get('concrete.security.misc.x_frame_options');
         if ($this->stringValidator->notempty($x_frame_options)) {
             $response->headers->set('X-Frame-Options', $x_frame_options);
         }
     }
     return $response;
 }
 /**
  * @dataProvider containsSymbolDataProvider
  */
 public function testContainsSymbol($expected, $string)
 {
     $this->assertEquals($expected, $this->object->containsSymbol($string));
 }