Passed
Push — main ( 1a17f8...8155a4 )
by Chema
10:50 queued 09:35
created

test_mapping_interfaces_from_bindings()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 3
c 1
b 0
f 1
dl 0
loc 5
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GacelaTest\Feature\Framework\BindingsInsideProvider;
6
7
use Gacela\Framework\Bootstrap\GacelaConfig;
8
use Gacela\Framework\Gacela;
9
use PHPUnit\Framework\TestCase;
10
11
final class FeatureTest extends TestCase
12
{
13
    protected function setUp(): void
14
    {
15
        Gacela::bootstrap(__DIR__, static function (GacelaConfig $config): void {
16
            $config->resetInMemoryCache();
17
        });
18
    }
19
20
    public function test_mapping_interfaces_from_bindings(): void
21
    {
22
        self::assertSame(
23
            'Hello Gacela! Team: Chemaclass & Jesus',
24
            (new Module\Facade())->generateCompanyAndName(),
25
        );
26
    }
27
}
28