/** * @dataProvider allPasteBinDataProvider * * @param PasteBin $pasteBin */ public function testShow(PasteBin $pasteBin) { $this->call('GET', '/api/pastebin/show', ['hash' => $pasteBin->hash]); $this->seeJsonEquals($pasteBin->toArray())->assertResponseStatus(200); }