Skip to content

Commit 3fc1433

Browse files
authored
Merge pull request #40 from laravel-notification-channels/user-devices-test
Added UserDevicesTest
2 parents aca7dfe + 4945bf1 commit 3fc1433

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

tests/Targets/UserDevicesTest.php

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
5+
namespace NotificationChannels\Pushbullet\Test\Targets;
6+
7+
use NotificationChannels\Pushbullet\Targets\UserDevices;
8+
use PHPUnit\Framework\TestCase;
9+
10+
/**
11+
* @coversDefaultClass \NotificationChannels\Pushbullet\Targets\UserDevices
12+
*/
13+
class UserDevicesTest extends TestCase
14+
{
15+
/**
16+
* @test
17+
*
18+
* @covers ::__construct
19+
* @covers ::getTarget
20+
*/
21+
public function it_is_properly_represented_as_array()
22+
{
23+
$sut = new UserDevices();
24+
25+
$this->assertEquals([], $sut->getTarget());
26+
}
27+
}

0 commit comments

Comments
 (0)