public function testGetDerivedQueries()
 {
     $this->matchContainerFactory->expects($this->once())->method('create')->willReturn('asdf');
     $result = $this->queryContainer->addMatchQuery($this->select, $this->requestQuery, Bool::QUERY_CONDITION_MUST);
     $this->assertEquals($this->select, $result);
     $queries = $this->queryContainer->getDerivedQueries();
     $this->assertCount(1, $queries);
     $this->assertEquals('asdf', reset($queries));
 }
 public function testGetDerivedQueries()
 {
     $this->testBuild();
     $queries = $this->queryContainer->getDerivedQueries();
     $this->assertCount(1, $queries);
     $this->assertEquals($this->select, reset($queries));
 }