public function testHas() { $collection = new Collection(['a' => 'x']); $this->assertTrue($collection->has('a')); $this->assertFalse($collection->has('b')); }