public function testCanCreateCustomAlertsWithoutClose() { $alert = Alert::custom('success', 'foo', $this->testAttributes)->open(); $match = array('attributes' => array('data-foo' => 'bar', 'class' => 'foo alert alert-success'), 'content' => 'foo', 'tag' => 'div'); $this->assertHTML($match, $alert); }