/** * @return bool */ protected function getIsJson() { return $this->headers->get('accept', null) === 'application/json'; }
public function testInstantiator() { $collection = new ReadOnlyCollection(); $this->assertInstanceOf(ReadOnlyCollection::class, $collection->__new([])); }