forked from sebastianbergmann/phpunit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExceptionTest.php
More file actions
47 lines (42 loc) · 720 Bytes
/
Copy pathExceptionTest.php
File metadata and controls
47 lines (42 loc) · 720 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
class ExceptionTest extends PHPUnit_Framework_TestCase
{
/**
* @expectedException FooBarBaz
*/
public function testOne()
{
}
/**
* @expectedException Foo_Bar_Baz
*/
public function testTwo()
{
}
/**
* @expectedException Foo\Bar\Baz
*/
public function testThree()
{
}
/**
* @expectedException ほげ
*/
public function testFour()
{
}
/**
* @expectedException Class Message 1234
*/
public function testFive()
{
}
/**
* @expectedException Class
* @expectedExceptionMessage Message
* @expectedExceptionCode 1234
*/
public function testSix()
{
}
}