public function all() { return $this->notifications; }
/** * @depends testAddInstantErrorMessage */ public function testHowManyMessagesAdded(\Krucas\Notification\NotificationsBag $bag) { $this->assertCount(10, $bag->all()); return $bag; }