/** * otherImages() should give all but the first image. */ public function testOtherImagesIsAllButFirstImage() { $images = new Collection(['foo', 'bar', 'another']); $this->mockModelAttribute('images', $images); $this->assertEquals(['bar', 'another'], array_values($this->productPresenter->otherImages()->all())); }