public function testId() { $snippet = $this->snippetFromMethod(Table::class, 'id'); $snippet->addLocal('table', $this->table); $res = $snippet->invoke(); $this->assertEquals(self::ID, $res->output()); }