public function testInternalTables() { $tables = array('node', 'node__access', 'node__rel'); $ctx = get_test_context(); foreach ($tables as $table) { $c = $ctx->db->fetch("SELECT COUNT(*) FROM `{$table}`"); $t = new TableInfo($ctx->db, $table); $this->assertTrue($t->exists()); } }