Passed
Push — master ( d277d1...50d4cf )
by Oss
05:45
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
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testException() 0 4 1
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