1 | <?php |
||
2 | |||
3 | /** |
||
4 | * Copyright © 2016-present Spryker Systems GmbH. All rights reserved. |
||
5 | * Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file. |
||
6 | */ |
||
7 | |||
8 | namespace SprykerTest\Zed\Assertion\Communication\Plugin\ServiceProvider; |
||
9 | |||
10 | use Codeception\Test\Unit; |
||
11 | use Silex\Application; |
||
12 | use Spryker\Zed\Assertion\Business\AssertionFacade; |
||
13 | use Spryker\Zed\Assertion\Communication\Plugin\ServiceProvider\AssertionServiceProvider; |
||
14 | |||
15 | /** |
||
16 | * @deprecated Will be removed without replacement. |
||
17 | * |
||
18 | * Auto-generated group annotations |
||
19 | * |
||
20 | * @group SprykerTest |
||
21 | * @group Zed |
||
22 | * @group Assertion |
||
23 | * @group Communication |
||
24 | * @group Plugin |
||
25 | * @group ServiceProvider |
||
26 | * @group AssertionServiceProviderTest |
||
27 | * Add your own group annotations below this line |
||
28 | */ |
||
29 | class AssertionServiceProviderTest extends Unit |
||
30 | { |
||
31 | /** |
||
32 | * @return void |
||
33 | */ |
||
34 | public function testRegisterServiceProvider(): void |
||
35 | { |
||
36 | $application = new Application(); |
||
37 | |||
38 | $serviceProvider = new AssertionServiceProvider(); |
||
0 ignored issues
–
show
Deprecated Code
introduced
by
Loading history...
|
|||
39 | $serviceProvider->register($application); |
||
40 | |||
41 | $this->assertInstanceOf(AssertionFacade::class, $application[AssertionServiceProvider::ASSERTION]); |
||
42 | } |
||
43 | } |
||
44 |