Passed
Branch master (50d4cf)
by Oss
02:53
created

UndefinedMethodExceptionTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 2
dl 0
loc 11
rs 10
c 0
b 0
f 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