Passed
Pull Request — master (#306)
by Tobias
03:09 queued 50s
created

BrowserIntegrationTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A createHttpAdapter() 0 6 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Buzz\Test\Integration;
6
7
use Buzz\Browser;
8
use Buzz\Client\FileGetContents;
9
10
class BrowserIntegrationTest extends BaseIntegrationTest
11
{
12
    protected function createHttpAdapter()
13
    {
14
        $client = new FileGetContents();
15
        $browser = new Browser($client);
16
17
        return $browser;
18
    }
19
}
20