public function testCanRemoveValues() { $array = Object::remove($this->objectMulti, '0.foo'); $matcher = (array) $this->objectMulti; unset($matcher[0]->foo); $this->assertEquals((object) $matcher, $array); }