public function testCanRemoveLasttValueFromAnArray() { $array = Arr::removeLast($this->array); $this->assertEquals(['foo' => 'bar'], $array); }