public function testRequestSearchValue()
 {
     \Input::shouldReceive('only')->andReturn(['words' => 'hello']);
     \Input::shouldReceive('get')->andReturn(1);
     \Input::shouldReceive('input')->andReturn('');
     $reflectionProperty = $this->getProtectProperty($this->controller, 'layout');
     $reflectionProperty->setValue($this->controller, new \stdClass());
     $reflectionMethod = $this->getProtectMethod($this->controller, 'view');
     $reflectionMethod->invokeArgs($this->controller, ['home.search.index']);
     $this->assertNull($this->controller->getIndex());
 }