Passed
Push — master ( ca0e1d...febc39 )
by Oss
01:48
created

BpmOnlineTest::testStub()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Test\Brownie\BpmOnline;
4
5
use Brownie\BpmOnline\BpmOnline;
6
use Brownie\BpmOnline\Config;
7
use Brownie\HttpClient\HttpClient;
8
use PHPUnit\Framework\TestCase;
9
10
class BpmOnlineTest extends TestCase
11
{
12
13
    /**
14
     * @var BpmOnline
15
     */
16
    private $bpmOnline;
17
18
    protected function setUp()
19
    {
20
        $httpClient = $this->prophesize(HttpClient::class);
21
22
        $config = $this->prophesize(Config::class);
23
24
25
26
        $this->bpmOnline = new BpmOnline(
27
            $httpClient->reveal(),
28
            $config->reveal()
29
        );
30
    }
31
32
    protected function tearDown()
33
    {
34
        $this->bpmOnline = null;
35
    }
36
37
    public function testStub()
38
    {
39
        $this->assertEquals('test', 'test');
40
    }
41
}
42