Passed
Push — master ( fde606...0af3c0 )
by Armando
08:21
created

ServiceProviderTest   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 2
dl 0
loc 28
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Tests\Unit;
6
7
use GrahamCampbell\TestBenchCore\ServiceProviderTrait;
8
use Illuminate\Config\Repository;
9
use Illuminate\Database\DatabaseManager as Database;
10
11
class ServiceProviderTest extends AbstractTestCase
12
{
13
    use ServiceProviderTrait;
14
15
    /** @test */
16
    public function config_is_injectable()
17
    {
18
        $this->assertIsInjectable(Repository::class);
19
    }
20
21
    /** @test */
22
    public function database_is_injectable()
23
    {
24
        $this->assertIsInjectable(Database::class);
25
    }
26
}
27