public function testEntity() { $tableMetadata = new TableMetadata(); $this->query->entity($tableMetadata); static::assertEquals($tableMetadata, $this->getProperty('metadata', $this->query)); }