1 | <?php |
||
10 | class HeaderFactoryTest extends PHPUnit_Framework_TestCase |
||
11 | { |
||
12 | |||
13 | |||
14 | |||
15 | |||
16 | |||
17 | /** |
||
18 | * @covers Fracture\Http\HeaderFactory::splitEntry |
||
19 | */ |
||
20 | public function testSplittingBadValue() |
||
25 | |||
26 | |||
27 | /** |
||
28 | * @covers Fracture\Http\HeaderFactory::splitEntry |
||
29 | */ |
||
30 | public function testSimpleHeaderSplitting() |
||
38 | |||
39 | |||
40 | |||
41 | /** |
||
42 | * @covers Fracture\Http\HeaderFactory::create |
||
43 | */ |
||
44 | public function testValuelessHeader() |
||
49 | |||
50 | |||
51 | /** |
||
52 | * @covers Fracture\Http\HeaderFactory::create |
||
53 | */ |
||
54 | public function testMissingHeaderCreation() |
||
59 | |||
60 | |||
61 | /** |
||
62 | * @dataProvider provideInstantiatedHeader |
||
63 | * |
||
64 | * @covers Fracture\Http\HeaderFactory::create |
||
65 | */ |
||
66 | public function testInstantiatedHeader($expected, $parameter) |
||
71 | |||
72 | |||
73 | public function provideInstantiatedHeader() |
||
90 | } |
||
91 |