| 1 | <?php |
||
| 24 | class ToastInterfaceTest extends AbstractTestCase { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Tests the __construct() method. |
||
| 28 | * |
||
| 29 | * @return void |
||
| 30 | */ |
||
| 31 | public function test__construct(): void { |
||
| 32 | |||
| 33 | $this->assertEquals(WBWCoreInterface::CORE_DANGER, ToastInterface::TOAST_DANGER); |
||
| 34 | $this->assertEquals(WBWCoreInterface::CORE_INFO, ToastInterface::TOAST_INFO); |
||
| 35 | $this->assertEquals(WBWCoreInterface::CORE_SUCCESS, ToastInterface::TOAST_SUCCESS); |
||
| 36 | $this->assertEquals(WBWCoreInterface::CORE_WARNING, ToastInterface::TOAST_WARNING); |
||
| 37 | } |
||
| 38 | } |
||
| 39 |