Пример #1
0
 public function testFindWithoutLimit()
 {
     $queryConfig = clone $this->queryConfig;
     $queryConfig->setLimit(0);
     $result = $this->dataProvider->find($this->queryBuilder, $queryConfig);
     $this->assertInstanceOf('EMC\\TableBundle\\Provider\\QueryResultInterface', $result);
     $this->assertEquals(0, $result->getCount());
 }