Passed
Push — master ( bacc5f...5eccc7 )
by Dispositif
02:22
created

ServiceFactoryTest   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 17
rs 10
c 0
b 0
f 0
wmc 3
1
<?php
2
/**
3
 * This file is part of dispositif/wikibot application
4
 * 2019 : Philippe M. <[email protected]>
5
 * For the full copyright and MIT license information, please view the LICENSE file.
6
 */
7
8
declare(strict_types=1);
9
10
namespace App\Infrastructure;
11
12
use PHPUnit\Framework\TestCase;
13
14
class ServiceFactoryTest extends TestCase
15
{
16
    public function testCreateQueueChannel()
17
    {
18
        $this::markTestSkipped('integration webservice desactived');
19
//        $channel = ServiceFactory::queueChannel('foo');
20
//        $this::assertInstanceOf(AMQPChannel::class, $channel);
21
    }
22
23
    public function testCloseAMQPconnection()
24
    {
25
        $this::markTestIncomplete();
26
    }
27
28
    public function testWikiApi()
29
    {
30
        $this::markTestSkipped('integration webservice desactived');
31
//        $wiki = ServiceFactory::wikiApi();
32
//        $this::assertInstanceOf(MediawikiFactory::CLASS, $wiki);
33
    }
34
}
35