/**
  * @test
  * @return null
  */
 public function shouldGetHits()
 {
     // given
     $keyword = 'nokia';
     $domain = 'mysite.com';
     $links = array('x');
     $total = 250;
     $expectedResult = new Result($links, $total);
     $this->httpClientMock->expects($this->any())->method('getConfiguration')->will($this->returnValue($this->configurationMock));
     $this->domainFilterMock->expects($this->once())->method('filter')->with($this->isInstanceOf('Pszpiler\\SeoGoogleClient\\Entity\\Result'), $domain)->will($this->returnValue($expectedResult));
     // when
     $hitsResult = $this->client->getHits($keyword, $domain);
     // then
     $this->assertSame($expectedResult, $hitsResult);
 }