public function testFlush() { $bag = new Bag(['foo' => ['fizz' => 'buzz', 7 => ['hello' => 'world']]]); $bag->flush(); $this->assertEquals([], $bag->all()); }