/**
  * testFindBySiteAndUrlExpectException
  *
  * @return void
  */
 public function testFindBySiteAndUrlExpectException()
 {
     $this->setExpectedException('Xpressengine\\Routing\\Exceptions\\NotFoundInstanceRouteException');
     $repo = new InstanceRouteRepository($this->conn);
     $query = $this->query;
     $query->shouldReceive('first')->andReturn(null);
     $repo->findBySiteAndUrl('default', 'freeboard');
 }