Completed
Push — stable ( ba1838...bafb54 )
by Nuno
09:32
created

ServiceProviderTest::testNotifierIsInjectable()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 4
c 1
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/**
4
 * This file is part of PROJECT-NAME.
5
 *
6
 * (c) Nuno Maduro <[email protected]>
7
 *
8
 *  For the full copyright and license information, please view the LICENSE
9
 *  file that was distributed with this source code.
10
 */
11
12
namespace NunoMaduro\Tests\LaravelDesktopNotifier;
13
14
use NunoMaduro\LaravelDesktopNotifier\Contracts\Notifier;
15
use NunoMaduro\LaravelDesktopNotifier\Contracts\Notification;
16
use GrahamCampbell\TestBenchCore\ServiceProviderTrait;
17
18
/**
19
 * This is the service provider test class.
20
 *
21
 * @author Nuno Maduro <[email protected]>
22
 */
23
class ServiceProviderTest extends AbstractTestCase
0 ignored issues
show
Bug introduced by
There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: artisan, be, call, seed
Loading history...
24
{
25
    use ServiceProviderTrait;
26
27
    public function testNotificationIsInjectable()
28
    {
29
        $this->assertIsInjectable(Notification::class);
30
    }
31
32
    public function testNotifierIsInjectable()
33
    {
34
        $this->assertIsInjectable(Notifier::class);
35
    }
36
}
37