@@ 143-150 (lines=8) @@ | ||
140 | $this->assertInstanceOf(\Symfony\Component\HttpFoundation\Session\Session::class, $buildContainer->getSystemContainer()->getSession()); |
|
141 | } |
|
142 | ||
143 | public function test_idp_entity_descriptor() |
|
144 | { |
|
145 | $pimple = new Container(); |
|
146 | $pimple->register(new \LightSaml\Bridge\Pimple\Container\Factory\PartyContainerProvider()); |
|
147 | $buildContainer = new BuildContainer($pimple); |
|
148 | ||
149 | $this->assertInstanceOf(\LightSaml\Store\EntityDescriptor\EntityDescriptorStoreInterface::class, $buildContainer->getPartyContainer()->getIdpEntityDescriptorStore()); |
|
150 | } |
|
151 | ||
152 | public function test_sp_entity_descriptor() |
|
153 | { |
|
@@ 152-159 (lines=8) @@ | ||
149 | $this->assertInstanceOf(\LightSaml\Store\EntityDescriptor\EntityDescriptorStoreInterface::class, $buildContainer->getPartyContainer()->getIdpEntityDescriptorStore()); |
|
150 | } |
|
151 | ||
152 | public function test_sp_entity_descriptor() |
|
153 | { |
|
154 | $pimple = new Container(); |
|
155 | $pimple->register(new \LightSaml\Bridge\Pimple\Container\Factory\PartyContainerProvider()); |
|
156 | $buildContainer = new BuildContainer($pimple); |
|
157 | ||
158 | $this->assertInstanceOf(\LightSaml\Store\EntityDescriptor\EntityDescriptorStoreInterface::class, $buildContainer->getPartyContainer()->getSpEntityDescriptorStore()); |
|
159 | } |
|
160 | ||
161 | private function getBuildContainer($inResponseTo = null, TimeProviderInterface $timeProvider = null) |
|
162 | { |