public function testBadData() { $path = __DIR__ . '/fixtures/datastore/querytest'; $config = new Config($path . '/'); $repo = new Repository('baddata', $config); $query = new Query($repo); $result = $query->execute(); $this->assertEquals(1, count($result)); }