Completed
Pull Request — master (#48)
by John
02:30
created

ApiRequestTest::canChain()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 11
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 11
rs 9.4285
cc 1
eloc 9
nc 1
nop 0
1
<?php
2
/*
3
 * This file is part of the KleijnWeb\SwaggerBundle package.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 */
8
9
namespace KleijnWeb\SwaggerBundle\Tests\Test;
10
11
use KleijnWeb\SwaggerBundle\Test\ApiRequest;
12
13
/**
14
 * @author John Kleijn <[email protected]>
15
 */
16
class ApiRequestTest extends \PHPUnit_Framework_TestCase
17
{
18
    /**
19
     * @test
20
     */
21
    public function canChain()
22
    {
23
        (new ApiRequest('/', 'POST'))
24
            ->setContent('')
25
            ->setCookies([])
26
            ->setFiles([])
27
            ->setMethod('POST')
28
            ->setParameters([])
29
            ->setServer([])
30
            ->setUri('/');
31
    }
32
}
33