Passed
Push — master ( d277d1...50d4cf )
by Oss
05:45
created

UndefinedMethodExceptionTest::testException()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Test\Brownie\Util\Exception;
4
5
use Brownie\Util\Exception\UndefinedMethodException;
6
7
class UndefinedMethodExceptionTest extends \PHPUnit_Framework_TestCase
8
{
9
10
    /**
11
     * @expectedException \Brownie\Util\Exception\UndefinedMethodException
12
     */
13
    public function testException()
14
    {
15
        throw new UndefinedMethodException('Test');
16
    }
17
}
18