1 | <?php |
||
7 | class SamlSpInfoTest extends \PHPUnit_Framework_TestCase |
||
8 | { |
||
9 | /** |
||
10 | * @test |
||
11 | */ |
||
12 | public function shouldImplementSerializableInterface() |
||
17 | |||
18 | /** |
||
19 | * @test |
||
20 | */ |
||
21 | public function couldBeConstructedWithIdpID() |
||
25 | |||
26 | /** |
||
27 | * @test |
||
28 | */ |
||
29 | public function couldBeConstructedWithNameID() |
||
34 | |||
35 | /** |
||
36 | * @test |
||
37 | */ |
||
38 | public function couldBeConstructedWithNameIDAndAttributes() |
||
43 | |||
44 | /** |
||
45 | * @test |
||
46 | */ |
||
47 | public function couldBeConstructedWithNameIDAndAttributesAndAuthnStatement() |
||
52 | |||
53 | |||
54 | /** |
||
55 | * @test |
||
56 | */ |
||
57 | public function shouldDeserialize() |
||
66 | |||
67 | /** |
||
68 | * @test |
||
69 | */ |
||
70 | public function shouldAllowGetIdpIdSetInConstructor() |
||
77 | |||
78 | /** |
||
79 | * @test |
||
80 | */ |
||
81 | public function shouldAllowGetNameIDSetInConstructor() |
||
90 | |||
91 | |||
92 | /** |
||
93 | * @test |
||
94 | */ |
||
95 | public function shouldAllowGetAttributesSetInConstructor() |
||
106 | |||
107 | |||
108 | /** |
||
109 | * @test |
||
110 | */ |
||
111 | public function shouldAllowGetAuthnStatementSetInConstructor() |
||
120 | |||
121 | /** |
||
122 | * @test |
||
123 | */ |
||
124 | public function shouldReturnEmptyArrayWhenNullAttributesSetInConstructor() |
||
130 | } |
||
131 |