/** * @depends testToArray */ public function testToJson(\Krucas\Notification\NotificationsBag $bag) { $this->assertContains('"container":"test"', $bag->toJson()); return $bag; }