1 | <?php |
||
8 | class ConfigurationTest extends \PHPUnit_Framework_TestCase |
||
9 | { |
||
10 | /** |
||
11 | * @test |
||
12 | * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException |
||
13 | */ |
||
14 | public function shouldRequireSSOStateEntityClass() |
||
19 | |||
20 | |||
21 | /** |
||
22 | * @test |
||
23 | */ |
||
24 | public function shouldAllowUsageWithSSOStateEntityClassOnly() |
||
31 | |||
32 | /** |
||
33 | * @test |
||
34 | * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidTypeException |
||
35 | */ |
||
36 | public function throwIfNonScalarSSOStateEntityClass() |
||
43 | |||
44 | |||
45 | /** |
||
46 | * @test |
||
47 | */ |
||
48 | public function shouldAllowOrmDbDriver() |
||
56 | |||
57 | /** |
||
58 | * @test |
||
59 | * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidConfigurationException |
||
60 | */ |
||
61 | public function throwIfUnknownDbDriver() |
||
69 | |||
70 | |||
71 | /** |
||
72 | * @test |
||
73 | * @expectedException \Symfony\Component\Config\Definition\Exception\InvalidTypeException |
||
74 | */ |
||
75 | public function throwIfNonScalarDbDriver() |
||
83 | |||
84 | |||
85 | |||
86 | |||
87 | |||
88 | protected function processConfiguration(array $configs) |
||
95 | } |
||
96 |