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

ServiceProviderTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 14
c 1
b 0
f 0
wmc 2
lcom 0
cbo 2
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testNotificationIsInjectable() 0 4 1
A testNotifierIsInjectable() 0 4 1
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