/**
  * Test the getArgument() method.
  *
  * @covers ::getArgument()
  * @dataProvider providerGetArgument
  */
 public function testGetArgument($options, Request $request, $expected)
 {
     $view = $this->getMockBuilder('Drupal\\views\\ViewExecutable')->disableOriginalConstructor()->setMethods(NULL)->getMock();
     $view->setRequest($request);
     $display_plugin = $this->getMockBuilder('Drupal\\views\\Plugin\\views\\display\\DisplayPluginBase')->disableOriginalConstructor()->getMock();
     $raw = new QueryParameter(array(), 'query_parameter', array());
     $raw->init($view, $display_plugin, $options);
     $this->assertEquals($expected, $raw->getArgument());
 }