GeneralTest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 15
c 0
b 0
f 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testGeneral() 0 4 1
A testFailingInclude() 0 4 1
1
<?php
2
/**
3
 *
4
 * @copyright (c) 2013 phpBB Group
5
 * @license http://opensource.org/licenses/gpl-3.0.php GNU General Public License v3
6
 * @author MichaelC
7
 *
8
 */
9
10
// Theses tests check the test suite as opposed to the actual application
11
12
namespace AppBundle\Tests;
13
14
class GeneralTest extends \PHPUnit_Framework_TestCase
15
{
16
	public function testGeneral()
17
	{
18
		$this->assertEquals(1, 1);
19
	}
20
21
	/**
22
	 * @expectedException PHPUnit_Framework_Error
23
	 */
24
	public function testFailingInclude()
25
	{
26
		include 'not_existing_file.php';
27
	}
28
}
29