public function testCreatesEntry($data, $type) { $logger = $this->getLogger($this->connection); $entry = $logger->entry($data); $this->assertEquals($data, $entry->info()[$type]); }