Completed
Push — master ( 92958f...e9ab7e )
by John
13s
created

malformedContentWillThrow400()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php declare(strict_types = 1);
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\Exception;
10
11
use KleijnWeb\SwaggerBundle\Exception\MalformedContentException;
12
use PHPUnit_Framework_TestCase;
13
14
class MalformedContentExceptionTest extends PHPUnit_Framework_TestCase
15
{
16
    /**
17
     * @test
18
     */
19
    public function malformedContentWillThrow400()
20
    {
21
        $exception = new MalformedContentException();
22
23
        $this->assertEquals('400', $exception->getCode());
24
    }
25
}
26