/**
  * @depends testAddFlashableErrorMessage
  */
 public function testAddInstantSuccessMessage(\Krucas\Notification\NotificationsBag $bag)
 {
     $bag->successInstant('s m');
     $this->assertCount(7, $bag->all());
     $this->assertInstanceOf('Krucas\\Notification\\Collection', $bag->all());
     $this->assertInstanceOf('Krucas\\Notification\\Message', $bag->get('success')[1]);
     $this->assertEquals('s m', $bag->get('success')[1]->getMessage());
     $this->assertEquals('success', $bag->get('success')[1]->getType());
     $this->assertEquals('<div class="alert alert-:type">:message</div>', $bag->get('success')[1]->getFormat());
     $this->assertFalse($bag->get('success')[1]->isFlashable());
     return $bag;
 }