GeneralTest::testFailingInclude()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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