Page MenuHomeDevCentral

ActionErrorTest.php
No OneTemporary

ActionErrorTest.php

<?php
namespace Nasqueron\Notifications\Tests\Actions;
use Illuminate\Foundation\Testing\WithoutMiddleware;
use Nasqueron\Notifications\Actions\ActionError;
use Nasqueron\Notifications\Tests\TestCase;
class ActionErrorTest extends TestCase {
protected $actionError;
public function setUp () {
$ex = new \RuntimeException('Lorem ipsum dolor');
$this->actionError = new ActionError($ex);
}
public function testPublicProperties () {
$this->assertSame('RuntimeException', $this->actionError->type);
$this->assertSame('Lorem ipsum dolor', $this->actionError->message);
}
}

File Metadata

Mime Type
text/x-php
Expires
Mon, Jun 16, 00:12 (1 d, 9 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2569557
Default Alt Text
ActionErrorTest.php (627 B)

Event Timeline